Package com.google.api
Interface MethodSettings.LongRunningOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
MethodSettings.LongRunning,MethodSettings.LongRunning.Builder
- Enclosing class:
- MethodSettings
public static interface MethodSettings.LongRunningOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationInitial delay after which the first poll request will be made.com.google.protobuf.DurationMaximum time between two subsequent poll requests.floatMultiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay.com.google.protobuf.DurationTotal polling timeout.booleanInitial delay after which the first poll request will be made.booleanMaximum time between two subsequent poll requests.booleanTotal polling timeout.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasInitialPollDelay
boolean hasInitialPollDelay()Initial delay after which the first poll request will be made. Default value: 5 seconds.
.google.protobuf.Duration initial_poll_delay = 1 [json_name = "initialPollDelay"];- Returns:
- Whether the initialPollDelay field is set.
-
getInitialPollDelay
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 [json_name = "initialPollDelay"];- Returns:
- The initialPollDelay.
-
getPollDelayMultiplier
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 [json_name = "pollDelayMultiplier"];- Returns:
- The pollDelayMultiplier.
-
hasMaxPollDelay
boolean hasMaxPollDelay()Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3 [json_name = "maxPollDelay"];- Returns:
- Whether the maxPollDelay field is set.
-
getMaxPollDelay
com.google.protobuf.Duration getMaxPollDelay()Maximum time between two subsequent poll requests. Default value: 45 seconds.
.google.protobuf.Duration max_poll_delay = 3 [json_name = "maxPollDelay"];- Returns:
- The maxPollDelay.
-
hasTotalPollTimeout
boolean hasTotalPollTimeout()Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4 [json_name = "totalPollTimeout"];- Returns:
- Whether the totalPollTimeout field is set.
-
getTotalPollTimeout
com.google.protobuf.Duration getTotalPollTimeout()Total polling timeout. Default value: 5 minutes.
.google.protobuf.Duration total_poll_timeout = 4 [json_name = "totalPollTimeout"];- Returns:
- The totalPollTimeout.
-