Package com.google.api
Interface MethodSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
MethodSettings
,MethodSettings.Builder
public interface MethodSettingsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAutoPopulatedFields
(int index) List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format.com.google.protobuf.ByteString
getAutoPopulatedFieldsBytes
(int index) List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format.int
List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format.List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format.Describes settings to use for long-running operations when generating API methods for RPCs.The fully qualified name of the method, for which the options below apply.com.google.protobuf.ByteString
The fully qualified name of the method, for which the options below apply.boolean
Describes settings to use for long-running operations when generating API methods for RPCs.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getSelector
String 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. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...
string selector = 1 [json_name = "selector"];
- Returns:
- The selector.
-
getSelectorBytes
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. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...
string selector = 1 [json_name = "selector"];
- Returns:
- The bytes for selector.
-
hasLongRunning
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_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
.google.api.MethodSettings.LongRunning long_running = 2 [json_name = "longRunning"];
- Returns:
- Whether the longRunning field is set.
-
getLongRunning
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_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
.google.api.MethodSettings.LongRunning long_running = 2 [json_name = "longRunning"];
- Returns:
- The longRunning.
-
getAutoPopulatedFieldsList
List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
repeated string auto_populated_fields = 3 [json_name = "autoPopulatedFields"];
- Returns:
- A list containing the autoPopulatedFields.
-
getAutoPopulatedFieldsCount
int getAutoPopulatedFieldsCount()List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
repeated string auto_populated_fields = 3 [json_name = "autoPopulatedFields"];
- Returns:
- The count of autoPopulatedFields.
-
getAutoPopulatedFields
List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
repeated string auto_populated_fields = 3 [json_name = "autoPopulatedFields"];
- Parameters:
index
- The index of the element to return.- Returns:
- The autoPopulatedFields at the given index.
-
getAutoPopulatedFieldsBytes
com.google.protobuf.ByteString getAutoPopulatedFieldsBytes(int index) List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
repeated string auto_populated_fields = 3 [json_name = "autoPopulatedFields"];
- Parameters:
index
- The index of the element to return.- Returns:
- The autoPopulatedFields at the given index.
-