public final class MethodSettings extends GeneratedMessageV3 implements MethodSettingsOrBuilder
Describes the generator configuration for a method.
Protobuf type google.api.MethodSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MethodSettingsImplements
MethodSettingsOrBuilderStatic Fields
LONG_RUNNING_FIELD_NUMBER
public static final int LONG_RUNNING_FIELD_NUMBER
Type | Description |
int |
SELECTOR_FIELD_NUMBER
public static final int SELECTOR_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MethodSettings getDefaultInstance()
Type | Description |
MethodSettings |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static MethodSettings.Builder newBuilder()
Type | Description |
MethodSettings.Builder |
newBuilder(MethodSettings prototype)
public static MethodSettings.Builder newBuilder(MethodSettings prototype)
Name | Description |
prototype | MethodSettings |
Type | Description |
MethodSettings.Builder |
parseDelimitedFrom(InputStream input)
public static MethodSettings parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MethodSettings |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MethodSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MethodSettings |
Type | Description |
IOException |
parseFrom(byte[] data)
public static MethodSettings parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
MethodSettings |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MethodSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MethodSettings |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MethodSettings parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
MethodSettings |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MethodSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MethodSettings |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MethodSettings parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
MethodSettings |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MethodSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MethodSettings |
Type | Description |
IOException |
parseFrom(InputStream input)
public static MethodSettings parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MethodSettings |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MethodSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MethodSettings |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MethodSettings parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
MethodSettings |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MethodSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MethodSettings |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MethodSettings> parser()
Type | Description |
Parser<MethodSettings> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public MethodSettings getDefaultInstanceForType()
Type | Description |
MethodSettings |
getLongRunning()
public 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;
Type | Description |
MethodSettings.LongRunning | The longRunning. |
getLongRunningOrBuilder()
public 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;
Type | Description |
MethodSettings.LongRunningOrBuilder |
getParserForType()
public Parser<MethodSettings> getParserForType()
Type | Description |
Parser<MethodSettings> |
getSelector()
public 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.
string selector = 1;
Type | Description |
String | The selector. |
getSelectorBytes()
public 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;
Type | Description |
ByteString | The bytes for selector. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasLongRunning()
public 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;
Type | Description |
boolean | Whether the longRunning field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public MethodSettings.Builder newBuilderForType()
Type | Description |
MethodSettings.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MethodSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
MethodSettings.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public MethodSettings.Builder toBuilder()
Type | Description |
MethodSettings.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |