public interface MethodConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
MethodConfig.HedgingPolicy |
getHedgingPolicy()
.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.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.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; |
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.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.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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<MethodConfig.Name> getNameList()
repeated .grpc.service_config.MethodConfig.Name name = 1;MethodConfig.Name getName(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;int getNameCount()
repeated .grpc.service_config.MethodConfig.Name name = 1;List<? extends MethodConfig.NameOrBuilder> getNameOrBuilderList()
repeated .grpc.service_config.MethodConfig.Name name = 1;MethodConfig.NameOrBuilder getNameOrBuilder(int index)
repeated .grpc.service_config.MethodConfig.Name name = 1;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;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;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;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;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;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;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;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;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;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;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;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;boolean hasRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;MethodConfig.RetryPolicy getRetryPolicy()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;MethodConfig.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
.grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;boolean hasHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;MethodConfig.HedgingPolicy getHedgingPolicy()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;MethodConfig.HedgingPolicyOrBuilder getHedgingPolicyOrBuilder()
.grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;MethodConfig.RetryOrHedgingPolicyCase getRetryOrHedgingPolicyCase()
Copyright © 2022 Google LLC. All rights reserved.