Package io.grpc.serviceconfig
Class MethodConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grpc.serviceconfig.MethodConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MethodConfigOrBuilder,Serializable
public final class MethodConfig extends com.google.protobuf.GeneratedMessageV3 implements MethodConfigOrBuilder
Configuration for a method.
Protobuf typegrpc.service_config.MethodConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethodConfig.BuilderConfiguration for a method.static classMethodConfig.HedgingPolicyThe hedging policy for outgoing RPCs.static interfaceMethodConfig.HedgingPolicyOrBuilderstatic classMethodConfig.NameThe names of the methods to which this configuration applies.static interfaceMethodConfig.NameOrBuilderstatic classMethodConfig.RetryOrHedgingPolicyCasestatic classMethodConfig.RetryPolicyThe retry policy for outgoing RPCs.static interfaceMethodConfig.RetryPolicyOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intHEDGING_POLICY_FIELD_NUMBERstatic intMAX_REQUEST_MESSAGE_BYTES_FIELD_NUMBERstatic intMAX_RESPONSE_MESSAGE_BYTES_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intRETRY_POLICY_FIELD_NUMBERstatic intTIMEOUT_FIELD_NUMBERstatic intWAIT_FOR_READY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static MethodConfiggetDefaultInstance()MethodConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MethodConfig.HedgingPolicygetHedgingPolicy().grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;MethodConfig.HedgingPolicyOrBuildergetHedgingPolicyOrBuilder().grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;com.google.protobuf.UInt32ValuegetMaxRequestMessageBytes()The maximum allowed payload size for an individual request or object in a stream (client->server) in bytes.com.google.protobuf.UInt32ValueOrBuildergetMaxRequestMessageBytesOrBuilder()The maximum allowed payload size for an individual request or object in a stream (client->server) in bytes.com.google.protobuf.UInt32ValuegetMaxResponseMessageBytes()The maximum allowed payload size for an individual response or object in a stream (server->client) in bytes.com.google.protobuf.UInt32ValueOrBuildergetMaxResponseMessageBytesOrBuilder()The maximum allowed payload size for an individual response or object in a stream (server->client) in bytes.MethodConfig.NamegetName(int index)repeated .grpc.service_config.MethodConfig.Name name = 1;intgetNameCount()repeated .grpc.service_config.MethodConfig.Name name = 1;List<MethodConfig.Name>getNameList()repeated .grpc.service_config.MethodConfig.Name name = 1;MethodConfig.NameOrBuildergetNameOrBuilder(int index)repeated .grpc.service_config.MethodConfig.Name name = 1;List<? extends MethodConfig.NameOrBuilder>getNameOrBuilderList()repeated .grpc.service_config.MethodConfig.Name name = 1;com.google.protobuf.Parser<MethodConfig>getParserForType()MethodConfig.RetryOrHedgingPolicyCasegetRetryOrHedgingPolicyCase()MethodConfig.RetryPolicygetRetryPolicy().grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;MethodConfig.RetryPolicyOrBuildergetRetryPolicyOrBuilder().grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;intgetSerializedSize()com.google.protobuf.DurationgetTimeout()The default timeout in seconds for RPCs sent to this method.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The default timeout in seconds for RPCs sent to this method.com.google.protobuf.UnknownFieldSetgetUnknownFields()com.google.protobuf.BoolValuegetWaitForReady()Whether RPCs sent to this method should wait until the connection is ready by default.com.google.protobuf.BoolValueOrBuildergetWaitForReadyOrBuilder()Whether RPCs sent to this method should wait until the connection is ready by default.inthashCode()booleanhasHedgingPolicy().grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;booleanhasMaxRequestMessageBytes()The maximum allowed payload size for an individual request or object in a stream (client->server) in bytes.booleanhasMaxResponseMessageBytes()The maximum allowed payload size for an individual response or object in a stream (server->client) in bytes.booleanhasRetryPolicy().grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;booleanhasTimeout()The default timeout in seconds for RPCs sent to this method.booleanhasWaitForReady()Whether RPCs sent to this method should wait until the connection is ready by default.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MethodConfig.BuildernewBuilder()static MethodConfig.BuildernewBuilder(MethodConfig prototype)MethodConfig.BuildernewBuilderForType()protected MethodConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MethodConfigparseDelimitedFrom(InputStream input)static MethodConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MethodConfigparseFrom(byte[] data)static MethodConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MethodConfigparseFrom(com.google.protobuf.ByteString data)static MethodConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MethodConfigparseFrom(com.google.protobuf.CodedInputStream input)static MethodConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MethodConfigparseFrom(InputStream input)static MethodConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MethodConfigparseFrom(ByteBuffer data)static MethodConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MethodConfig>parser()MethodConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WAIT_FOR_READY_FIELD_NUMBER
public static final int WAIT_FOR_READY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_REQUEST_MESSAGE_BYTES_FIELD_NUMBER
public static final int MAX_REQUEST_MESSAGE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_RESPONSE_MESSAGE_BYTES_FIELD_NUMBER
public static final int MAX_RESPONSE_MESSAGE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEDGING_POLICY_FIELD_NUMBER
public static final int HEDGING_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRetryOrHedgingPolicyCase
public MethodConfig.RetryOrHedgingPolicyCase getRetryOrHedgingPolicyCase()
- Specified by:
getRetryOrHedgingPolicyCasein interfaceMethodConfigOrBuilder
-
getNameList
public List<MethodConfig.Name> getNameList()
repeated .grpc.service_config.MethodConfig.Name name = 1;- Specified by:
getNameListin interfaceMethodConfigOrBuilder
-
getNameOrBuilderList
public List<? extends MethodConfig.NameOrBuilder> getNameOrBuilderList()
repeated .grpc.service_config.MethodConfig.Name name = 1;- Specified by:
getNameOrBuilderListin interfaceMethodConfigOrBuilder
-
getNameCount
public int getNameCount()
repeated .grpc.service_config.MethodConfig.Name name = 1;- Specified by:
getNameCountin interfaceMethodConfigOrBuilder
-
getName
public MethodConfig.Name getName(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;- Specified by:
getNamein interfaceMethodConfigOrBuilder
-
getNameOrBuilder
public MethodConfig.NameOrBuilder getNameOrBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;- Specified by:
getNameOrBuilderin interfaceMethodConfigOrBuilder
-
hasWaitForReady
public boolean hasWaitForReady()
Whether RPCs sent to this method should wait until the connection is ready by default. If false, the RPC will abort immediately if there is a transient failure connecting to the server. Otherwise, gRPC will attempt to connect until the deadline is exceeded. The value specified via the gRPC client API will override the value set here. However, note that setting the value in the client API will also affect transient errors encountered during name resolution, which cannot be caught by the value here, since the service config is obtained by the gRPC client via name resolution.
.google.protobuf.BoolValue wait_for_ready = 2;- Specified by:
hasWaitForReadyin interfaceMethodConfigOrBuilder- Returns:
- Whether the waitForReady field is set.
-
getWaitForReady
public com.google.protobuf.BoolValue getWaitForReady()
Whether RPCs sent to this method should wait until the connection is ready by default. If false, the RPC will abort immediately if there is a transient failure connecting to the server. Otherwise, gRPC will attempt to connect until the deadline is exceeded. The value specified via the gRPC client API will override the value set here. However, note that setting the value in the client API will also affect transient errors encountered during name resolution, which cannot be caught by the value here, since the service config is obtained by the gRPC client via name resolution.
.google.protobuf.BoolValue wait_for_ready = 2;- Specified by:
getWaitForReadyin interfaceMethodConfigOrBuilder- Returns:
- The waitForReady.
-
getWaitForReadyOrBuilder
public com.google.protobuf.BoolValueOrBuilder getWaitForReadyOrBuilder()
Whether RPCs sent to this method should wait until the connection is ready by default. If false, the RPC will abort immediately if there is a transient failure connecting to the server. Otherwise, gRPC will attempt to connect until the deadline is exceeded. The value specified via the gRPC client API will override the value set here. However, note that setting the value in the client API will also affect transient errors encountered during name resolution, which cannot be caught by the value here, since the service config is obtained by the gRPC client via name resolution.
.google.protobuf.BoolValue wait_for_ready = 2;- Specified by:
getWaitForReadyOrBuilderin interfaceMethodConfigOrBuilder
-
hasTimeout
public boolean hasTimeout()
The default timeout in seconds for RPCs sent to this method. This can be overridden in code. If no reply is received in the specified amount of time, the request is aborted and a DEADLINE_EXCEEDED error status is returned to the caller. The actual deadline used will be the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the request has no deadline.
.google.protobuf.Duration timeout = 3;- Specified by:
hasTimeoutin interfaceMethodConfigOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
The default timeout in seconds for RPCs sent to this method. This can be overridden in code. If no reply is received in the specified amount of time, the request is aborted and a DEADLINE_EXCEEDED error status is returned to the caller. The actual deadline used will be the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the request has no deadline.
.google.protobuf.Duration timeout = 3;- Specified by:
getTimeoutin interfaceMethodConfigOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The default timeout in seconds for RPCs sent to this method. This can be overridden in code. If no reply is received in the specified amount of time, the request is aborted and a DEADLINE_EXCEEDED error status is returned to the caller. The actual deadline used will be the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the request has no deadline.
.google.protobuf.Duration timeout = 3;- Specified by:
getTimeoutOrBuilderin interfaceMethodConfigOrBuilder
-
hasMaxRequestMessageBytes
public boolean hasMaxRequestMessageBytes()
The maximum allowed payload size for an individual request or object in a stream (client->server) in bytes. The size which is measured is the serialized payload after per-message compression (but before stream compression) in bytes. This applies both to streaming and non-streaming requests. The actual value used is the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the built-in default is used. If a client attempts to send an object larger than this value, it will not be sent and the client will see a ClientError. Note that 0 is a valid value, meaning that the request message must be empty.
.google.protobuf.UInt32Value max_request_message_bytes = 4;- Specified by:
hasMaxRequestMessageBytesin interfaceMethodConfigOrBuilder- Returns:
- Whether the maxRequestMessageBytes field is set.
-
getMaxRequestMessageBytes
public com.google.protobuf.UInt32Value getMaxRequestMessageBytes()
The maximum allowed payload size for an individual request or object in a stream (client->server) in bytes. The size which is measured is the serialized payload after per-message compression (but before stream compression) in bytes. This applies both to streaming and non-streaming requests. The actual value used is the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the built-in default is used. If a client attempts to send an object larger than this value, it will not be sent and the client will see a ClientError. Note that 0 is a valid value, meaning that the request message must be empty.
.google.protobuf.UInt32Value max_request_message_bytes = 4;- Specified by:
getMaxRequestMessageBytesin interfaceMethodConfigOrBuilder- Returns:
- The maxRequestMessageBytes.
-
getMaxRequestMessageBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxRequestMessageBytesOrBuilder()
The maximum allowed payload size for an individual request or object in a stream (client->server) in bytes. The size which is measured is the serialized payload after per-message compression (but before stream compression) in bytes. This applies both to streaming and non-streaming requests. The actual value used is the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the built-in default is used. If a client attempts to send an object larger than this value, it will not be sent and the client will see a ClientError. Note that 0 is a valid value, meaning that the request message must be empty.
.google.protobuf.UInt32Value max_request_message_bytes = 4;- Specified by:
getMaxRequestMessageBytesOrBuilderin interfaceMethodConfigOrBuilder
-
hasMaxResponseMessageBytes
public boolean hasMaxResponseMessageBytes()
The maximum allowed payload size for an individual response or object in a stream (server->client) in bytes. The size which is measured is the serialized payload after per-message compression (but before stream compression) in bytes. This applies both to streaming and non-streaming requests. The actual value used is the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the built-in default is used. If a server attempts to send an object larger than this value, it will not be sent, and a ServerError will be sent to the client instead. Note that 0 is a valid value, meaning that the response message must be empty.
.google.protobuf.UInt32Value max_response_message_bytes = 5;- Specified by:
hasMaxResponseMessageBytesin interfaceMethodConfigOrBuilder- Returns:
- Whether the maxResponseMessageBytes field is set.
-
getMaxResponseMessageBytes
public com.google.protobuf.UInt32Value getMaxResponseMessageBytes()
The maximum allowed payload size for an individual response or object in a stream (server->client) in bytes. The size which is measured is the serialized payload after per-message compression (but before stream compression) in bytes. This applies both to streaming and non-streaming requests. The actual value used is the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the built-in default is used. If a server attempts to send an object larger than this value, it will not be sent, and a ServerError will be sent to the client instead. Note that 0 is a valid value, meaning that the response message must be empty.
.google.protobuf.UInt32Value max_response_message_bytes = 5;- Specified by:
getMaxResponseMessageBytesin interfaceMethodConfigOrBuilder- Returns:
- The maxResponseMessageBytes.
-
getMaxResponseMessageBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxResponseMessageBytesOrBuilder()
The maximum allowed payload size for an individual response or object in a stream (server->client) in bytes. The size which is measured is the serialized payload after per-message compression (but before stream compression) in bytes. This applies both to streaming and non-streaming requests. The actual value used is the minimum of the value specified here and the value set by the application via the gRPC client API. If either one is not set, then the other will be used. If neither is set, then the built-in default is used. If a server attempts to send an object larger than this value, it will not be sent, and a ServerError will be sent to the client instead. Note that 0 is a valid value, meaning that the response message must be empty.
.google.protobuf.UInt32Value max_response_message_bytes = 5;- Specified by:
getMaxResponseMessageBytesOrBuilderin interfaceMethodConfigOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;- Specified by:
hasRetryPolicyin interfaceMethodConfigOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public MethodConfig.RetryPolicy getRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;- Specified by:
getRetryPolicyin interfaceMethodConfigOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
public MethodConfig.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;- Specified by:
getRetryPolicyOrBuilderin interfaceMethodConfigOrBuilder
-
hasHedgingPolicy
public boolean hasHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;- Specified by:
hasHedgingPolicyin interfaceMethodConfigOrBuilder- Returns:
- Whether the hedgingPolicy field is set.
-
getHedgingPolicy
public MethodConfig.HedgingPolicy getHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;- Specified by:
getHedgingPolicyin interfaceMethodConfigOrBuilder- Returns:
- The hedgingPolicy.
-
getHedgingPolicyOrBuilder
public MethodConfig.HedgingPolicyOrBuilder getHedgingPolicyOrBuilder()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;- Specified by:
getHedgingPolicyOrBuilderin interfaceMethodConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MethodConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MethodConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MethodConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MethodConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MethodConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MethodConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MethodConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MethodConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MethodConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MethodConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MethodConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MethodConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MethodConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MethodConfig.Builder newBuilder()
-
newBuilder
public static MethodConfig.Builder newBuilder(MethodConfig prototype)
-
toBuilder
public MethodConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MethodConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MethodConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MethodConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<MethodConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MethodConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-