io.grpc.serviceconfig.MethodConfigOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: service_config.proto
// Protobuf Java Version: 3.25.4
package io.grpc.serviceconfig;
public interface MethodConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.service_config.MethodConfig)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .grpc.service_config.MethodConfig.Name name = 1;
*/
java.util.List
getNameList();
/**
* repeated .grpc.service_config.MethodConfig.Name name = 1;
*/
io.grpc.serviceconfig.MethodConfig.Name getName(int index);
/**
* repeated .grpc.service_config.MethodConfig.Name name = 1;
*/
int getNameCount();
/**
* repeated .grpc.service_config.MethodConfig.Name name = 1;
*/
java.util.List extends io.grpc.serviceconfig.MethodConfig.NameOrBuilder>
getNameOrBuilderList();
/**
* repeated .grpc.service_config.MethodConfig.Name name = 1;
*/
io.grpc.serviceconfig.MethodConfig.NameOrBuilder getNameOrBuilder(
int index);
/**
*
* 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;
* @return Whether the waitForReady field is set.
*/
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;
* @return The waitForReady.
*/
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();
/**
*
* 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;
* @return Whether the timeout field is set.
*/
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;
* @return The timeout.
*/
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 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;
* @return Whether the maxRequestMessageBytes field is set.
*/
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;
* @return The maxRequestMessageBytes.
*/
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 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;
* @return Whether the maxResponseMessageBytes field is set.
*/
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;
* @return The maxResponseMessageBytes.
*/
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();
/**
* .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
* @return Whether the retryPolicy field is set.
*/
boolean hasRetryPolicy();
/**
* .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
* @return The retryPolicy.
*/
io.grpc.serviceconfig.MethodConfig.RetryPolicy getRetryPolicy();
/**
* .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
*/
io.grpc.serviceconfig.MethodConfig.RetryPolicyOrBuilder getRetryPolicyOrBuilder();
/**
* .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
* @return Whether the hedgingPolicy field is set.
*/
boolean hasHedgingPolicy();
/**
* .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
* @return The hedgingPolicy.
*/
io.grpc.serviceconfig.MethodConfig.HedgingPolicy getHedgingPolicy();
/**
* .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
*/
io.grpc.serviceconfig.MethodConfig.HedgingPolicyOrBuilder getHedgingPolicyOrBuilder();
io.grpc.serviceconfig.MethodConfig.RetryOrHedgingPolicyCase getRetryOrHedgingPolicyCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy