public static final class MethodConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder> implements MethodConfigOrBuilder
Configuration for a method.Protobuf type
grpc.service_config.MethodConfig| Modifier and Type | Method and Description |
|---|---|
MethodConfig.Builder |
addAllName(Iterable<? extends MethodConfig.Name> values)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
addName(int index,
MethodConfig.Name.Builder builderForValue)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
addName(int index,
MethodConfig.Name value)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
addName(MethodConfig.Name.Builder builderForValue)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
addName(MethodConfig.Name value)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Name.Builder |
addNameBuilder()
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Name.Builder |
addNameBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MethodConfig |
build() |
MethodConfig |
buildPartial() |
MethodConfig.Builder |
clear() |
MethodConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MethodConfig.Builder |
clearHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
MethodConfig.Builder |
clearMaxRequestMessageBytes()
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
MethodConfig.Builder |
clearMaxResponseMessageBytes()
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
MethodConfig.Builder |
clearName()
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MethodConfig.Builder |
clearRetryOrHedgingPolicy() |
MethodConfig.Builder |
clearRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
MethodConfig.Builder |
clearTimeout()
The default timeout in seconds for RPCs sent to this method.
|
MethodConfig.Builder |
clearWaitForReady()
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
MethodConfig.Builder |
clone() |
MethodConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
MethodConfig.HedgingPolicy |
getHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
MethodConfig.HedgingPolicy.Builder |
getHedgingPolicyBuilder()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
MethodConfig.HedgingPolicyOrBuilder |
getHedgingPolicyOrBuilder()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
com.google.protobuf.UInt32Value |
getMaxRequestMessageBytes()
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
com.google.protobuf.UInt32Value.Builder |
getMaxRequestMessageBytesBuilder()
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxRequestMessageBytesOrBuilder()
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
com.google.protobuf.UInt32Value |
getMaxResponseMessageBytes()
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
com.google.protobuf.UInt32Value.Builder |
getMaxResponseMessageBytesBuilder()
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxResponseMessageBytesOrBuilder()
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
MethodConfig.Name |
getName(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Name.Builder |
getNameBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
List<MethodConfig.Name.Builder> |
getNameBuilderList()
repeated .grpc.service_config.MethodConfig.Name name = 1; |
int |
getNameCount()
repeated .grpc.service_config.MethodConfig.Name name = 1; |
List<MethodConfig.Name> |
getNameList()
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.NameOrBuilder |
getNameOrBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
List<? extends MethodConfig.NameOrBuilder> |
getNameOrBuilderList()
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.RetryOrHedgingPolicyCase |
getRetryOrHedgingPolicyCase() |
MethodConfig.RetryPolicy |
getRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
MethodConfig.RetryPolicy.Builder |
getRetryPolicyBuilder()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
MethodConfig.RetryPolicyOrBuilder |
getRetryPolicyOrBuilder()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
com.google.protobuf.Duration |
getTimeout()
The default timeout in seconds for RPCs sent to this method.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
The default timeout in seconds for RPCs sent to this method.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The default timeout in seconds for RPCs sent to this method.
|
com.google.protobuf.BoolValue |
getWaitForReady()
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
com.google.protobuf.BoolValue.Builder |
getWaitForReadyBuilder()
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
com.google.protobuf.BoolValueOrBuilder |
getWaitForReadyOrBuilder()
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
boolean |
hasHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
boolean |
hasMaxRequestMessageBytes()
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
boolean |
hasMaxResponseMessageBytes()
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
boolean |
hasRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
boolean |
hasTimeout()
The default timeout in seconds for RPCs sent to this method.
|
boolean |
hasWaitForReady()
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MethodConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MethodConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
MethodConfig.Builder |
mergeFrom(MethodConfig other) |
MethodConfig.Builder |
mergeHedgingPolicy(MethodConfig.HedgingPolicy value)
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
MethodConfig.Builder |
mergeMaxRequestMessageBytes(com.google.protobuf.UInt32Value value)
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
MethodConfig.Builder |
mergeMaxResponseMessageBytes(com.google.protobuf.UInt32Value value)
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
MethodConfig.Builder |
mergeRetryPolicy(MethodConfig.RetryPolicy value)
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
MethodConfig.Builder |
mergeTimeout(com.google.protobuf.Duration value)
The default timeout in seconds for RPCs sent to this method.
|
MethodConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MethodConfig.Builder |
mergeWaitForReady(com.google.protobuf.BoolValue value)
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
MethodConfig.Builder |
removeName(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MethodConfig.Builder |
setHedgingPolicy(MethodConfig.HedgingPolicy.Builder builderForValue)
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
MethodConfig.Builder |
setHedgingPolicy(MethodConfig.HedgingPolicy value)
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7; |
MethodConfig.Builder |
setMaxRequestMessageBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
MethodConfig.Builder |
setMaxRequestMessageBytes(com.google.protobuf.UInt32Value value)
The maximum allowed payload size for an individual request or object in a
stream (client->server) in bytes.
|
MethodConfig.Builder |
setMaxResponseMessageBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
MethodConfig.Builder |
setMaxResponseMessageBytes(com.google.protobuf.UInt32Value value)
The maximum allowed payload size for an individual response or object in a
stream (server->client) in bytes.
|
MethodConfig.Builder |
setName(int index,
MethodConfig.Name.Builder builderForValue)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
setName(int index,
MethodConfig.Name value)
repeated .grpc.service_config.MethodConfig.Name name = 1; |
MethodConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MethodConfig.Builder |
setRetryPolicy(MethodConfig.RetryPolicy.Builder builderForValue)
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
MethodConfig.Builder |
setRetryPolicy(MethodConfig.RetryPolicy value)
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6; |
MethodConfig.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The default timeout in seconds for RPCs sent to this method.
|
MethodConfig.Builder |
setTimeout(com.google.protobuf.Duration value)
The default timeout in seconds for RPCs sent to this method.
|
MethodConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MethodConfig.Builder |
setWaitForReady(com.google.protobuf.BoolValue.Builder builderForValue)
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
MethodConfig.Builder |
setWaitForReady(com.google.protobuf.BoolValue value)
Whether RPCs sent to this method should wait until the connection is
ready by default.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MethodConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MethodConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MethodConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MethodConfig.Builder>public MethodConfig.Builder mergeFrom(MethodConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public MethodConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MethodConfig.Builder>IOExceptionpublic MethodConfig.RetryOrHedgingPolicyCase getRetryOrHedgingPolicyCase()
getRetryOrHedgingPolicyCase in interface MethodConfigOrBuilderpublic MethodConfig.Builder clearRetryOrHedgingPolicy()
public List<MethodConfig.Name> getNameList()
repeated .grpc.service_config.MethodConfig.Name name = 1;getNameList in interface MethodConfigOrBuilderpublic int getNameCount()
repeated .grpc.service_config.MethodConfig.Name name = 1;getNameCount in interface MethodConfigOrBuilderpublic MethodConfig.Name getName(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;getName in interface MethodConfigOrBuilderpublic MethodConfig.Builder setName(int index, MethodConfig.Name value)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder setName(int index, MethodConfig.Name.Builder builderForValue)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder addName(MethodConfig.Name value)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder addName(int index, MethodConfig.Name value)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder addName(MethodConfig.Name.Builder builderForValue)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder addName(int index, MethodConfig.Name.Builder builderForValue)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder addAllName(Iterable<? extends MethodConfig.Name> values)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder clearName()
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Builder removeName(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Name.Builder getNameBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.NameOrBuilder getNameOrBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;getNameOrBuilder in interface MethodConfigOrBuilderpublic List<? extends MethodConfig.NameOrBuilder> getNameOrBuilderList()
repeated .grpc.service_config.MethodConfig.Name name = 1;getNameOrBuilderList in interface MethodConfigOrBuilderpublic MethodConfig.Name.Builder addNameBuilder()
repeated .grpc.service_config.MethodConfig.Name name = 1;public MethodConfig.Name.Builder addNameBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;public List<MethodConfig.Name.Builder> getNameBuilderList()
repeated .grpc.service_config.MethodConfig.Name name = 1;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;hasWaitForReady in interface MethodConfigOrBuilderpublic 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;getWaitForReady in interface MethodConfigOrBuilderpublic MethodConfig.Builder setWaitForReady(com.google.protobuf.BoolValue value)
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;public MethodConfig.Builder setWaitForReady(com.google.protobuf.BoolValue.Builder builderForValue)
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;public MethodConfig.Builder mergeWaitForReady(com.google.protobuf.BoolValue value)
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;public MethodConfig.Builder clearWaitForReady()
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;public com.google.protobuf.BoolValue.Builder getWaitForReadyBuilder()
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;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;getWaitForReadyOrBuilder in interface MethodConfigOrBuilderpublic 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;hasTimeout in interface MethodConfigOrBuilderpublic 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;getTimeout in interface MethodConfigOrBuilderpublic MethodConfig.Builder setTimeout(com.google.protobuf.Duration value)
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;public MethodConfig.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
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;public MethodConfig.Builder mergeTimeout(com.google.protobuf.Duration value)
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;public MethodConfig.Builder clearTimeout()
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;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
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;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;getTimeoutOrBuilder in interface MethodConfigOrBuilderpublic 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;hasMaxRequestMessageBytes in interface MethodConfigOrBuilderpublic 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;getMaxRequestMessageBytes in interface MethodConfigOrBuilderpublic MethodConfig.Builder setMaxRequestMessageBytes(com.google.protobuf.UInt32Value value)
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;public MethodConfig.Builder setMaxRequestMessageBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
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;public MethodConfig.Builder mergeMaxRequestMessageBytes(com.google.protobuf.UInt32Value value)
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;public MethodConfig.Builder clearMaxRequestMessageBytes()
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;public com.google.protobuf.UInt32Value.Builder getMaxRequestMessageBytesBuilder()
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;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;getMaxRequestMessageBytesOrBuilder in interface MethodConfigOrBuilderpublic 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;hasMaxResponseMessageBytes in interface MethodConfigOrBuilderpublic 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;getMaxResponseMessageBytes in interface MethodConfigOrBuilderpublic MethodConfig.Builder setMaxResponseMessageBytes(com.google.protobuf.UInt32Value value)
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;public MethodConfig.Builder setMaxResponseMessageBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
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;public MethodConfig.Builder mergeMaxResponseMessageBytes(com.google.protobuf.UInt32Value value)
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;public MethodConfig.Builder clearMaxResponseMessageBytes()
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;public com.google.protobuf.UInt32Value.Builder getMaxResponseMessageBytesBuilder()
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;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;getMaxResponseMessageBytesOrBuilder in interface MethodConfigOrBuilderpublic boolean hasRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;hasRetryPolicy in interface MethodConfigOrBuilderpublic MethodConfig.RetryPolicy getRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;getRetryPolicy in interface MethodConfigOrBuilderpublic MethodConfig.Builder setRetryPolicy(MethodConfig.RetryPolicy value)
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;public MethodConfig.Builder setRetryPolicy(MethodConfig.RetryPolicy.Builder builderForValue)
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;public MethodConfig.Builder mergeRetryPolicy(MethodConfig.RetryPolicy value)
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;public MethodConfig.Builder clearRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;public MethodConfig.RetryPolicy.Builder getRetryPolicyBuilder()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;public MethodConfig.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;getRetryPolicyOrBuilder in interface MethodConfigOrBuilderpublic boolean hasHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;hasHedgingPolicy in interface MethodConfigOrBuilderpublic MethodConfig.HedgingPolicy getHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;getHedgingPolicy in interface MethodConfigOrBuilderpublic MethodConfig.Builder setHedgingPolicy(MethodConfig.HedgingPolicy value)
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;public MethodConfig.Builder setHedgingPolicy(MethodConfig.HedgingPolicy.Builder builderForValue)
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;public MethodConfig.Builder mergeHedgingPolicy(MethodConfig.HedgingPolicy value)
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;public MethodConfig.Builder clearHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;public MethodConfig.HedgingPolicy.Builder getHedgingPolicyBuilder()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;public MethodConfig.HedgingPolicyOrBuilder getHedgingPolicyOrBuilder()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;getHedgingPolicyOrBuilder in interface MethodConfigOrBuilderpublic final MethodConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>public final MethodConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>Copyright © 2022 Google LLC. All rights reserved.