public static final class MethodSettings.LongRunning extends com.google.protobuf.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](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).Protobuf type
google.api.MethodSettings.LongRunning| Modifier and Type | Class and Description |
|---|---|
static class |
MethodSettings.LongRunning.Builder
Describes settings to use when generating API methods that use the
long-running operation pattern.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
INITIAL_POLL_DELAY_FIELD_NUMBER |
static int |
MAX_POLL_DELAY_FIELD_NUMBER |
static int |
POLL_DELAY_MULTIPLIER_FIELD_NUMBER |
static int |
TOTAL_POLL_TIMEOUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MethodSettings.LongRunning |
getDefaultInstance() |
MethodSettings.LongRunning |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Duration |
getInitialPollDelay()
Initial delay after which the first poll request will be made.
|
com.google.protobuf.DurationOrBuilder |
getInitialPollDelayOrBuilder()
Initial delay after which the first poll request will be made.
|
com.google.protobuf.Duration |
getMaxPollDelay()
Maximum time between two subsequent poll requests.
|
com.google.protobuf.DurationOrBuilder |
getMaxPollDelayOrBuilder()
Maximum time between two subsequent poll requests.
|
com.google.protobuf.Parser<MethodSettings.LongRunning> |
getParserForType() |
float |
getPollDelayMultiplier()
Multiplier to gradually increase delay between subsequent polls until it
reaches max_poll_delay.
|
int |
getSerializedSize() |
com.google.protobuf.Duration |
getTotalPollTimeout()
Total polling timeout.
|
com.google.protobuf.DurationOrBuilder |
getTotalPollTimeoutOrBuilder()
Total polling timeout.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInitialPollDelay()
Initial delay after which the first poll request will be made.
|
boolean |
hasMaxPollDelay()
Maximum time between two subsequent poll requests.
|
boolean |
hasTotalPollTimeout()
Total polling timeout.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MethodSettings.LongRunning.Builder |
newBuilder() |
static MethodSettings.LongRunning.Builder |
newBuilder(MethodSettings.LongRunning prototype) |
MethodSettings.LongRunning.Builder |
newBuilderForType() |
protected MethodSettings.LongRunning.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MethodSettings.LongRunning |
parseDelimitedFrom(InputStream input) |
static MethodSettings.LongRunning |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MethodSettings.LongRunning |
parseFrom(byte[] data) |
static MethodSettings.LongRunning |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MethodSettings.LongRunning |
parseFrom(ByteBuffer data) |
static MethodSettings.LongRunning |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MethodSettings.LongRunning |
parseFrom(com.google.protobuf.ByteString data) |
static MethodSettings.LongRunning |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MethodSettings.LongRunning |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MethodSettings.LongRunning |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MethodSettings.LongRunning |
parseFrom(InputStream input) |
static MethodSettings.LongRunning |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MethodSettings.LongRunning> |
parser() |
MethodSettings.LongRunning.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INITIAL_POLL_DELAY_FIELD_NUMBER
public static final int POLL_DELAY_MULTIPLIER_FIELD_NUMBER
public static final int MAX_POLL_DELAY_FIELD_NUMBER
public static final int TOTAL_POLL_TIMEOUT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasInitialPollDelay()
Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;hasInitialPollDelay in interface MethodSettings.LongRunningOrBuilderpublic com.google.protobuf.Duration getInitialPollDelay()
Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;getInitialPollDelay in interface MethodSettings.LongRunningOrBuilderpublic com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder()
Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;getInitialPollDelayOrBuilder in interface MethodSettings.LongRunningOrBuilderpublic 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;getPollDelayMultiplier in interface MethodSettings.LongRunningOrBuilderpublic boolean hasMaxPollDelay()
Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;hasMaxPollDelay in interface MethodSettings.LongRunningOrBuilderpublic com.google.protobuf.Duration getMaxPollDelay()
Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;getMaxPollDelay in interface MethodSettings.LongRunningOrBuilderpublic com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder()
Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;getMaxPollDelayOrBuilder in interface MethodSettings.LongRunningOrBuilderpublic boolean hasTotalPollTimeout()
Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;hasTotalPollTimeout in interface MethodSettings.LongRunningOrBuilderpublic com.google.protobuf.Duration getTotalPollTimeout()
Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;getTotalPollTimeout in interface MethodSettings.LongRunningOrBuilderpublic com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder()
Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;getTotalPollTimeoutOrBuilder in interface MethodSettings.LongRunningOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MethodSettings.LongRunning parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MethodSettings.LongRunning parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MethodSettings.LongRunning parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MethodSettings.LongRunning parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MethodSettings.LongRunning parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MethodSettings.LongRunning parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MethodSettings.LongRunning parseFrom(InputStream input) throws IOException
IOExceptionpublic static MethodSettings.LongRunning parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MethodSettings.LongRunning parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MethodSettings.LongRunning parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MethodSettings.LongRunning parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MethodSettings.LongRunning parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MethodSettings.LongRunning.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MethodSettings.LongRunning.Builder newBuilder()
public static MethodSettings.LongRunning.Builder newBuilder(MethodSettings.LongRunning prototype)
public MethodSettings.LongRunning.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MethodSettings.LongRunning.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MethodSettings.LongRunning getDefaultInstance()
public static com.google.protobuf.Parser<MethodSettings.LongRunning> parser()
public com.google.protobuf.Parser<MethodSettings.LongRunning> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MethodSettings.LongRunning getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.