Send feedback
Class MethodSettings.LongRunning (2.36.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.36.0 keyboard_arrow_down
public static final class MethodSettings . LongRunning extends GeneratedMessageV3 implements MethodSettings . LongRunningOrBuilder
Describes settings to use when generating API methods that use the
long-running operation pattern.
All default values below are from those used in the client library
generators (e.g.
Java ).
Protobuf type google.api.MethodSettings.LongRunning
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INITIAL_POLL_DELAY_FIELD_NUMBER
public static final int INITIAL_POLL_DELAY_FIELD_NUMBER
Field Value Type Description int
MAX_POLL_DELAY_FIELD_NUMBER
public static final int MAX_POLL_DELAY_FIELD_NUMBER
Field Value Type Description int
POLL_DELAY_MULTIPLIER_FIELD_NUMBER
public static final int POLL_DELAY_MULTIPLIER_FIELD_NUMBER
Field Value Type Description int
TOTAL_POLL_TIMEOUT_FIELD_NUMBER
public static final int TOTAL_POLL_TIMEOUT_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static MethodSettings . LongRunning getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static MethodSettings . LongRunning . Builder newBuilder ()
newBuilder(MethodSettings.LongRunning prototype)
public static MethodSettings . LongRunning . Builder newBuilder ( MethodSettings . LongRunning prototype )
public static MethodSettings . LongRunning parseDelimitedFrom ( InputStream input )
public static MethodSettings . LongRunning parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static MethodSettings . LongRunning parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MethodSettings . LongRunning parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static MethodSettings . LongRunning parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MethodSettings . LongRunning parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MethodSettings . LongRunning parseFrom ( CodedInputStream input )
public static MethodSettings . LongRunning parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MethodSettings . LongRunning parseFrom ( InputStream input )
public static MethodSettings . LongRunning parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static MethodSettings . LongRunning parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MethodSettings . LongRunning parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<MethodSettings . LongRunning > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public MethodSettings . LongRunning getDefaultInstanceForType ()
getInitialPollDelay()
public Duration getInitialPollDelay ()
Initial delay after which the first poll request will be made.
Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;
Returns Type Description Duration
The initialPollDelay.
getInitialPollDelayOrBuilder()
public DurationOrBuilder getInitialPollDelayOrBuilder ()
Initial delay after which the first poll request will be made.
Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;
getMaxPollDelay()
public Duration getMaxPollDelay ()
Maximum time between two subsequent poll requests.
Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
Returns Type Description Duration
The maxPollDelay.
getMaxPollDelayOrBuilder()
public DurationOrBuilder getMaxPollDelayOrBuilder ()
Maximum time between two subsequent poll requests.
Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
getParserForType()
public Parser<MethodSettings . LongRunning > getParserForType ()
Overrides
getPollDelayMultiplier()
public float getPollDelayMultiplier ()
Multiplier to gradually increase delay between subsequent polls until it
reaches max_poll_delay.
Default value: 1.5.
float poll_delay_multiplier = 2;
Returns Type Description float
The pollDelayMultiplier.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getTotalPollTimeout()
public Duration getTotalPollTimeout ()
Total polling timeout.
Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
Returns Type Description Duration
The totalPollTimeout.
getTotalPollTimeoutOrBuilder()
public DurationOrBuilder getTotalPollTimeoutOrBuilder ()
Total polling timeout.
Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
hasInitialPollDelay()
public boolean hasInitialPollDelay ()
Initial delay after which the first poll request will be made.
Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;
Returns Type Description boolean
Whether the initialPollDelay field is set.
hasMaxPollDelay()
public boolean hasMaxPollDelay ()
Maximum time between two subsequent poll requests.
Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
Returns Type Description boolean
Whether the maxPollDelay field is set.
hasTotalPollTimeout()
public boolean hasTotalPollTimeout ()
Total polling timeout.
Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
Returns Type Description boolean
Whether the totalPollTimeout field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public MethodSettings . LongRunning . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MethodSettings . LongRunning . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public MethodSettings . LongRunning . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]