Class GrpcService.EnvoyGrpc.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
io.envoyproxy.envoy.config.core.v3.GrpcService.EnvoyGrpc.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcService.EnvoyGrpcOrBuilder,Cloneable
- Enclosing class:
- GrpcService.EnvoyGrpc
public static final class GrpcService.EnvoyGrpc.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
implements GrpcService.EnvoyGrpcOrBuilder
[#next-free-field: 6]Protobuf type
envoy.config.core.v3.GrpcService.EnvoyGrpc-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ``:authority`` header in the grpc request.The name of the upstream gRPC cluster.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Maximum gRPC message size that is allowed to be received.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.This provides gRPC client level control over envoy generated headers.clone()The ``:authority`` header in the grpc request.com.google.protobuf.ByteStringThe ``:authority`` header in the grpc request.The name of the upstream gRPC cluster.com.google.protobuf.ByteStringThe name of the upstream gRPC cluster.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.UInt32ValueMaximum gRPC message size that is allowed to be received.com.google.protobuf.UInt32Value.BuilderMaximum gRPC message size that is allowed to be received.com.google.protobuf.UInt32ValueOrBuilderMaximum gRPC message size that is allowed to be received.Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.booleanThis provides gRPC client level control over envoy generated headers.booleanMaximum gRPC message size that is allowed to be received.booleanSpecifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GrpcService.EnvoyGrpc other) mergeMaxReceiveMessageLength(com.google.protobuf.UInt32Value value) Maximum gRPC message size that is allowed to be received.mergeRetryPolicy(RetryPolicy value) Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAuthority(String value) The ``:authority`` header in the grpc request.setAuthorityBytes(com.google.protobuf.ByteString value) The ``:authority`` header in the grpc request.setClusterName(String value) The name of the upstream gRPC cluster.setClusterNameBytes(com.google.protobuf.ByteString value) The name of the upstream gRPC cluster.setMaxReceiveMessageLength(com.google.protobuf.UInt32Value value) Maximum gRPC message size that is allowed to be received.setMaxReceiveMessageLength(com.google.protobuf.UInt32Value.Builder builderForValue) Maximum gRPC message size that is allowed to be received.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.setRetryPolicy(RetryPolicy.Builder builderForValue) Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.setSkipEnvoyHeaders(boolean value) This provides gRPC client level control over envoy generated headers.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
setField
public GrpcService.EnvoyGrpc.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
clearField
public GrpcService.EnvoyGrpc.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
clearOneof
public GrpcService.EnvoyGrpc.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
setRepeatedField
public GrpcService.EnvoyGrpc.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
addRepeatedField
public GrpcService.EnvoyGrpc.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcService.EnvoyGrpc.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
mergeFrom
public GrpcService.EnvoyGrpc.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcService.EnvoyGrpc.Builder>- Throws:
IOException
-
getClusterName
The name of the upstream gRPC cluster. SSL credentials will be supplied in the :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` :ref:`transport_socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`.
string cluster_name = 1 [(.validate.rules) = { ... }- Specified by:
getClusterNamein interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()The name of the upstream gRPC cluster. SSL credentials will be supplied in the :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` :ref:`transport_socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`.
string cluster_name = 1 [(.validate.rules) = { ... }- Specified by:
getClusterNameBytesin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The bytes for clusterName.
-
setClusterName
The name of the upstream gRPC cluster. SSL credentials will be supplied in the :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` :ref:`transport_socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`.
string cluster_name = 1 [(.validate.rules) = { ... }- Parameters:
value- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
The name of the upstream gRPC cluster. SSL credentials will be supplied in the :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` :ref:`transport_socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`.
string cluster_name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setClusterNameBytes
The name of the upstream gRPC cluster. SSL credentials will be supplied in the :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` :ref:`transport_socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>`.
string cluster_name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getAuthority
The ``:authority`` header in the grpc request. If this field is not set, the authority header value will be ``cluster_name``. Note that this authority does not override the SNI. The SNI is provided by the transport socket of the cluster.
string authority = 2 [(.validate.rules) = { ... }- Specified by:
getAuthorityin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The authority.
-
getAuthorityBytes
public com.google.protobuf.ByteString getAuthorityBytes()The ``:authority`` header in the grpc request. If this field is not set, the authority header value will be ``cluster_name``. Note that this authority does not override the SNI. The SNI is provided by the transport socket of the cluster.
string authority = 2 [(.validate.rules) = { ... }- Specified by:
getAuthorityBytesin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The bytes for authority.
-
setAuthority
The ``:authority`` header in the grpc request. If this field is not set, the authority header value will be ``cluster_name``. Note that this authority does not override the SNI. The SNI is provided by the transport socket of the cluster.
string authority = 2 [(.validate.rules) = { ... }- Parameters:
value- The authority to set.- Returns:
- This builder for chaining.
-
clearAuthority
The ``:authority`` header in the grpc request. If this field is not set, the authority header value will be ``cluster_name``. Note that this authority does not override the SNI. The SNI is provided by the transport socket of the cluster.
string authority = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAuthorityBytes
The ``:authority`` header in the grpc request. If this field is not set, the authority header value will be ``cluster_name``. Note that this authority does not override the SNI. The SNI is provided by the transport socket of the cluster.
string authority = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for authority to set.- Returns:
- This builder for chaining.
-
hasRetryPolicy
public boolean hasRetryPolicy()Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3;- Specified by:
hasRetryPolicyin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3;- Specified by:
getRetryPolicyin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3; -
setRetryPolicy
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3; -
mergeRetryPolicy
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3; -
clearRetryPolicy
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3; -
getRetryPolicyBuilder
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3; -
getRetryPolicyOrBuilder
Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams. This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to ten times the configured ``retry_back_off.base_interval``. .. note:: This field is only honored for management‑plane xDS gRPC streams created from :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external processing filters) must use :ref:`GrpcService.retry_policy <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead. If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
.envoy.config.core.v3.RetryPolicy retry_policy = 3;- Specified by:
getRetryPolicyOrBuilderin interfaceGrpcService.EnvoyGrpcOrBuilder
-
hasMaxReceiveMessageLength
public boolean hasMaxReceiveMessageLength()Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4;- Specified by:
hasMaxReceiveMessageLengthin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- Whether the maxReceiveMessageLength field is set.
-
getMaxReceiveMessageLength
public com.google.protobuf.UInt32Value getMaxReceiveMessageLength()Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4;- Specified by:
getMaxReceiveMessageLengthin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The maxReceiveMessageLength.
-
setMaxReceiveMessageLength
public GrpcService.EnvoyGrpc.Builder setMaxReceiveMessageLength(com.google.protobuf.UInt32Value value) Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4; -
setMaxReceiveMessageLength
public GrpcService.EnvoyGrpc.Builder setMaxReceiveMessageLength(com.google.protobuf.UInt32Value.Builder builderForValue) Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4; -
mergeMaxReceiveMessageLength
public GrpcService.EnvoyGrpc.Builder mergeMaxReceiveMessageLength(com.google.protobuf.UInt32Value value) Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4; -
clearMaxReceiveMessageLength
Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4; -
getMaxReceiveMessageLengthBuilder
public com.google.protobuf.UInt32Value.Builder getMaxReceiveMessageLengthBuilder()Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4; -
getMaxReceiveMessageLengthOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxReceiveMessageLengthOrBuilder()Maximum gRPC message size that is allowed to be received. If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error. This limit is applied to individual messages in the streaming response and not the total size of streaming response. Defaults to 0, which means unlimited.
.google.protobuf.UInt32Value max_receive_message_length = 4;- Specified by:
getMaxReceiveMessageLengthOrBuilderin interfaceGrpcService.EnvoyGrpcOrBuilder
-
getSkipEnvoyHeaders
public boolean getSkipEnvoyHeaders()This provides gRPC client level control over envoy generated headers. If false, the header will be sent but it can be overridden by per stream option. If true, the header will be removed and can not be overridden by per stream option. Default to false.
bool skip_envoy_headers = 5;- Specified by:
getSkipEnvoyHeadersin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The skipEnvoyHeaders.
-
setSkipEnvoyHeaders
This provides gRPC client level control over envoy generated headers. If false, the header will be sent but it can be overridden by per stream option. If true, the header will be removed and can not be overridden by per stream option. Default to false.
bool skip_envoy_headers = 5;- Parameters:
value- The skipEnvoyHeaders to set.- Returns:
- This builder for chaining.
-
clearSkipEnvoyHeaders
This provides gRPC client level control over envoy generated headers. If false, the header will be sent but it can be overridden by per stream option. If true, the header will be removed and can not be overridden by per stream option. Default to false.
bool skip_envoy_headers = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GrpcService.EnvoyGrpc.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-
mergeUnknownFields
public final GrpcService.EnvoyGrpc.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.EnvoyGrpc.Builder>
-