MethodSettings_LongRunning class final

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).

Inheritance
  • Object
  • ProtoMessage
  • MethodSettings_LongRunning

Constructors

MethodSettings_LongRunning({Duration? initialPollDelay, double pollDelayMultiplier = 0, Duration? maxPollDelay, Duration? totalPollTimeout})
MethodSettings_LongRunning.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
initialPollDelay → Duration?
Initial delay after which the first poll request will be made. Default value: 5 seconds.
final
maxPollDelay → Duration?
Maximum time between two subsequent poll requests. Default value: 45 seconds.
final
pollDelayMultiplier double
Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPollTimeout → Duration?
Total polling timeout. Default value: 5 minutes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String