Class MethodConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
io.grpc.serviceconfig.MethodConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MethodConfigOrBuilder, Cloneable
Enclosing class:
MethodConfig

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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • clear

      public MethodConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • getDefaultInstanceForType

      public MethodConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MethodConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MethodConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public MethodConfig.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • setField

      public MethodConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • clearField

      public MethodConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • clearOneof

      public MethodConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • setRepeatedField

      public MethodConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • addRepeatedField

      public MethodConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • mergeFrom

      public MethodConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MethodConfig.Builder>
    • mergeFrom

      public MethodConfig.Builder mergeFrom(MethodConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • mergeFrom

      public MethodConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MethodConfig.Builder>
      Throws:
      IOException
    • getRetryOrHedgingPolicyCase

      public MethodConfig.RetryOrHedgingPolicyCase getRetryOrHedgingPolicyCase()
      Specified by:
      getRetryOrHedgingPolicyCase in interface MethodConfigOrBuilder
    • clearRetryOrHedgingPolicy

      public MethodConfig.Builder clearRetryOrHedgingPolicy()
    • getNameList

      public List<MethodConfig.Name> getNameList()
      repeated .grpc.service_config.MethodConfig.Name name = 1;
      Specified by:
      getNameList in interface MethodConfigOrBuilder
    • getNameCount

      public int getNameCount()
      repeated .grpc.service_config.MethodConfig.Name name = 1;
      Specified by:
      getNameCount in interface MethodConfigOrBuilder
    • getName

      public MethodConfig.Name getName(int index)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
      Specified by:
      getName in interface MethodConfigOrBuilder
    • setName

      public MethodConfig.Builder setName(int index, MethodConfig.Name value)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • setName

      public MethodConfig.Builder setName(int index, MethodConfig.Name.Builder builderForValue)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • addName

      public MethodConfig.Builder addName(MethodConfig.Name value)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • addName

      public MethodConfig.Builder addName(int index, MethodConfig.Name value)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • addName

      public MethodConfig.Builder addName(MethodConfig.Name.Builder builderForValue)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • addName

      public MethodConfig.Builder addName(int index, MethodConfig.Name.Builder builderForValue)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • addAllName

      public MethodConfig.Builder addAllName(Iterable<? extends MethodConfig.Name> values)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • clearName

      public MethodConfig.Builder clearName()
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • removeName

      public MethodConfig.Builder removeName(int index)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • getNameBuilder

      public MethodConfig.Name.Builder getNameBuilder(int index)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • getNameOrBuilder

      public MethodConfig.NameOrBuilder getNameOrBuilder(int index)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
      Specified by:
      getNameOrBuilder in interface MethodConfigOrBuilder
    • getNameOrBuilderList

      public List<? extends MethodConfig.NameOrBuilder> getNameOrBuilderList()
      repeated .grpc.service_config.MethodConfig.Name name = 1;
      Specified by:
      getNameOrBuilderList in interface MethodConfigOrBuilder
    • addNameBuilder

      public MethodConfig.Name.Builder addNameBuilder()
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • addNameBuilder

      public MethodConfig.Name.Builder addNameBuilder(int index)
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • getNameBuilderList

      public List<MethodConfig.Name.Builder> getNameBuilderList()
      repeated .grpc.service_config.MethodConfig.Name name = 1;
    • 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:
      hasWaitForReady in interface MethodConfigOrBuilder
      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:
      getWaitForReady in interface MethodConfigOrBuilder
      Returns:
      The waitForReady.
    • setWaitForReady

      public 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;
    • setWaitForReady

      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;
    • mergeWaitForReady

      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;
    • clearWaitForReady

      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;
    • getWaitForReadyBuilder

      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;
    • 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:
      getWaitForReadyOrBuilder in interface MethodConfigOrBuilder
    • 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:
      hasTimeout in interface MethodConfigOrBuilder
      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:
      getTimeout in interface MethodConfigOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public 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;
    • setTimeout

      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;
    • mergeTimeout

      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;
    • clearTimeout

      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;
    • getTimeoutBuilder

      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;
    • 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:
      getTimeoutOrBuilder in interface MethodConfigOrBuilder
    • 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:
      hasMaxRequestMessageBytes in interface MethodConfigOrBuilder
      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:
      getMaxRequestMessageBytes in interface MethodConfigOrBuilder
      Returns:
      The maxRequestMessageBytes.
    • setMaxRequestMessageBytes

      public 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;
    • setMaxRequestMessageBytes

      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;
    • mergeMaxRequestMessageBytes

      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;
    • clearMaxRequestMessageBytes

      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;
    • getMaxRequestMessageBytesBuilder

      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;
    • 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:
      getMaxRequestMessageBytesOrBuilder in interface MethodConfigOrBuilder
    • 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:
      hasMaxResponseMessageBytes in interface MethodConfigOrBuilder
      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:
      getMaxResponseMessageBytes in interface MethodConfigOrBuilder
      Returns:
      The maxResponseMessageBytes.
    • setMaxResponseMessageBytes

      public 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;
    • setMaxResponseMessageBytes

      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;
    • mergeMaxResponseMessageBytes

      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;
    • clearMaxResponseMessageBytes

      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;
    • getMaxResponseMessageBytesBuilder

      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;
    • 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:
      getMaxResponseMessageBytesOrBuilder in interface MethodConfigOrBuilder
    • hasRetryPolicy

      public boolean hasRetryPolicy()
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
      Specified by:
      hasRetryPolicy in interface MethodConfigOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public MethodConfig.RetryPolicy getRetryPolicy()
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
      Specified by:
      getRetryPolicy in interface MethodConfigOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

      public MethodConfig.Builder setRetryPolicy(MethodConfig.RetryPolicy value)
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
    • setRetryPolicy

      public MethodConfig.Builder setRetryPolicy(MethodConfig.RetryPolicy.Builder builderForValue)
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
    • mergeRetryPolicy

      public MethodConfig.Builder mergeRetryPolicy(MethodConfig.RetryPolicy value)
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
    • clearRetryPolicy

      public MethodConfig.Builder clearRetryPolicy()
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
    • getRetryPolicyBuilder

      public MethodConfig.RetryPolicy.Builder getRetryPolicyBuilder()
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
    • getRetryPolicyOrBuilder

      public MethodConfig.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
      .grpc.service_config.MethodConfig.RetryPolicy retry_policy = 6;
      Specified by:
      getRetryPolicyOrBuilder in interface MethodConfigOrBuilder
    • hasHedgingPolicy

      public boolean hasHedgingPolicy()
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
      Specified by:
      hasHedgingPolicy in interface MethodConfigOrBuilder
      Returns:
      Whether the hedgingPolicy field is set.
    • getHedgingPolicy

      public MethodConfig.HedgingPolicy getHedgingPolicy()
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
      Specified by:
      getHedgingPolicy in interface MethodConfigOrBuilder
      Returns:
      The hedgingPolicy.
    • setHedgingPolicy

      public MethodConfig.Builder setHedgingPolicy(MethodConfig.HedgingPolicy value)
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
    • setHedgingPolicy

      public MethodConfig.Builder setHedgingPolicy(MethodConfig.HedgingPolicy.Builder builderForValue)
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
    • mergeHedgingPolicy

      public MethodConfig.Builder mergeHedgingPolicy(MethodConfig.HedgingPolicy value)
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
    • clearHedgingPolicy

      public MethodConfig.Builder clearHedgingPolicy()
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
    • getHedgingPolicyBuilder

      public MethodConfig.HedgingPolicy.Builder getHedgingPolicyBuilder()
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
    • getHedgingPolicyOrBuilder

      public MethodConfig.HedgingPolicyOrBuilder getHedgingPolicyOrBuilder()
      .grpc.service_config.MethodConfig.HedgingPolicy hedging_policy = 7;
      Specified by:
      getHedgingPolicyOrBuilder in interface MethodConfigOrBuilder
    • setUnknownFields

      public final MethodConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>
    • mergeUnknownFields

      public final MethodConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MethodConfig.Builder>