public interface MethodSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
MethodSettings.LongRunning |
getLongRunning()
Describes settings to use for long-running operations when generating
API methods for RPCs.
|
MethodSettings.LongRunningOrBuilder |
getLongRunningOrBuilder()
Describes settings to use for long-running operations when generating
API methods for RPCs.
|
String |
getSelector()
The fully qualified name of the method, for which the options below apply.
|
com.google.protobuf.ByteString |
getSelectorBytes()
The fully qualified name of the method, for which the options below apply.
|
boolean |
hasLongRunning()
Describes settings to use for long-running operations when generating
API methods for RPCs.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSelector()
The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.
string selector = 1;com.google.protobuf.ByteString getSelectorBytes()
The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.
string selector = 1;boolean hasLongRunning()
Describes settings to use for long-running operations when generating
API methods for RPCs. Complements RPCs that use the annotations in
google/longrunning/operations.proto.
Example of a YAML configuration::
publishing:
method_behavior:
- selector: CreateAdDomain
long_running:
initial_poll_delay:
seconds: 60 # 1 minute
poll_delay_multiplier: 1.5
max_poll_delay:
seconds: 360 # 6 minutes
total_poll_timeout:
seconds: 54000 # 90 minutes
.google.api.MethodSettings.LongRunning long_running = 2;MethodSettings.LongRunning getLongRunning()
Describes settings to use for long-running operations when generating
API methods for RPCs. Complements RPCs that use the annotations in
google/longrunning/operations.proto.
Example of a YAML configuration::
publishing:
method_behavior:
- selector: CreateAdDomain
long_running:
initial_poll_delay:
seconds: 60 # 1 minute
poll_delay_multiplier: 1.5
max_poll_delay:
seconds: 360 # 6 minutes
total_poll_timeout:
seconds: 54000 # 90 minutes
.google.api.MethodSettings.LongRunning long_running = 2;MethodSettings.LongRunningOrBuilder getLongRunningOrBuilder()
Describes settings to use for long-running operations when generating
API methods for RPCs. Complements RPCs that use the annotations in
google/longrunning/operations.proto.
Example of a YAML configuration::
publishing:
method_behavior:
- selector: CreateAdDomain
long_running:
initial_poll_delay:
seconds: 60 # 1 minute
poll_delay_multiplier: 1.5
max_poll_delay:
seconds: 360 # 6 minutes
total_poll_timeout:
seconds: 54000 # 90 minutes
.google.api.MethodSettings.LongRunning long_running = 2;Copyright © 2022 Google LLC. All rights reserved.