- 2.65.0 (latest)
- 2.64.1
- 2.63.2
- 2.62.0
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class MethodSettings.LongRunning.Builder extends GeneratedMessage.Builder<MethodSettings.LongRunning.Builder> implements MethodSettings.LongRunningOrBuilderDescribes 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MethodSettings.LongRunning.BuilderImplements
MethodSettings.LongRunningOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MethodSettings.LongRunning build()| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning |
|
buildPartial()
public MethodSettings.LongRunning buildPartial()| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning |
|
clear()
public MethodSettings.LongRunning.Builder clear()| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
clearInitialPollDelay()
public MethodSettings.LongRunning.Builder clearInitialPollDelay()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 |
MethodSettings.LongRunning.Builder |
|
clearMaxPollDelay()
public MethodSettings.LongRunning.Builder clearMaxPollDelay()Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
clearPollDelayMultiplier()
public MethodSettings.LongRunning.Builder clearPollDelayMultiplier()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 |
MethodSettings.LongRunning.Builder |
This builder for chaining. |
clearTotalPollTimeout()
public MethodSettings.LongRunning.Builder clearTotalPollTimeout()Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
getDefaultInstanceForType()
public MethodSettings.LongRunning getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getInitialPollDelayBuilder()
public Duration.Builder getInitialPollDelayBuilder()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 |
Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
getMaxPollDelayBuilder()
public Duration.Builder getMaxPollDelayBuilder()Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getMaxPollDelayOrBuilder()
public DurationOrBuilder getMaxPollDelayOrBuilder()Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
getTotalPollTimeout()
public Duration getTotalPollTimeout()Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Returns | |
|---|---|
| Type | Description |
Duration |
The totalPollTimeout. |
getTotalPollTimeoutBuilder()
public Duration.Builder getTotalPollTimeoutBuilder()Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTotalPollTimeoutOrBuilder()
public DurationOrBuilder getTotalPollTimeoutOrBuilder()Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MethodSettings.LongRunning other)
public MethodSettings.LongRunning.Builder mergeFrom(MethodSettings.LongRunning other)| Parameter | |
|---|---|
| Name | Description |
other |
MethodSettings.LongRunning |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MethodSettings.LongRunning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MethodSettings.LongRunning.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
mergeInitialPollDelay(Duration value)
public MethodSettings.LongRunning.Builder mergeInitialPollDelay(Duration value)Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
mergeMaxPollDelay(Duration value)
public MethodSettings.LongRunning.Builder mergeMaxPollDelay(Duration value)Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
mergeTotalPollTimeout(Duration value)
public MethodSettings.LongRunning.Builder mergeTotalPollTimeout(Duration value)Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
setInitialPollDelay(Duration value)
public MethodSettings.LongRunning.Builder setInitialPollDelay(Duration value)Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
setInitialPollDelay(Duration.Builder builderForValue)
public MethodSettings.LongRunning.Builder setInitialPollDelay(Duration.Builder builderForValue)Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
setMaxPollDelay(Duration value)
public MethodSettings.LongRunning.Builder setMaxPollDelay(Duration value)Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
setMaxPollDelay(Duration.Builder builderForValue)
public MethodSettings.LongRunning.Builder setMaxPollDelay(Duration.Builder builderForValue)Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
setPollDelayMultiplier(float value)
public MethodSettings.LongRunning.Builder setPollDelayMultiplier(float value)Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
float poll_delay_multiplier = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe pollDelayMultiplier to set. |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
This builder for chaining. |
setTotalPollTimeout(Duration value)
public MethodSettings.LongRunning.Builder setTotalPollTimeout(Duration value)Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|
setTotalPollTimeout(Duration.Builder builderForValue)
public MethodSettings.LongRunning.Builder setTotalPollTimeout(Duration.Builder builderForValue)Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
MethodSettings.LongRunning.Builder |
|