Class GrpcService.EnvoyGrpc
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.core.v3.GrpcService.EnvoyGrpc
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcService.EnvoyGrpcOrBuilder,Serializable
- Enclosing class:
GrpcService
public static final class GrpcService.EnvoyGrpc
extends com.google.protobuf.GeneratedMessage
implements GrpcService.EnvoyGrpcOrBuilder
[#next-free-field: 6]Protobuf type
envoy.config.core.v3.GrpcService.EnvoyGrpc- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 6]Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Objectstatic final intprivate intstatic final intprivate Objectprivate static final GrpcService.EnvoyGrpcstatic final intprivate com.google.protobuf.UInt32Valueprivate byteprivate static final com.google.protobuf.Parser<GrpcService.EnvoyGrpc> static final intprivate RetryPolicyprivate static final longstatic final intprivate booleanFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe ``: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 GrpcService.EnvoyGrpcstatic 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.UInt32ValueOrBuilderMaximum gRPC message size that is allowed to be received.com.google.protobuf.Parser<GrpcService.EnvoyGrpc> Indicates the retry policy for re-establishing the gRPC stream This field is optional.Indicates the retry policy for re-establishing the gRPC stream This field is optional.intbooleanThis provides gRPC client level control over envoy generated headers.inthashCode()booleanMaximum gRPC message size that is allowed to be received.booleanIndicates the retry policy for re-establishing the gRPC stream This field is optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(GrpcService.EnvoyGrpc prototype) protected GrpcService.EnvoyGrpc.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GrpcService.EnvoyGrpcparseDelimitedFrom(InputStream input) static GrpcService.EnvoyGrpcparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.EnvoyGrpcparseFrom(byte[] data) static GrpcService.EnvoyGrpcparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.EnvoyGrpcparseFrom(com.google.protobuf.ByteString data) static GrpcService.EnvoyGrpcparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.EnvoyGrpcparseFrom(com.google.protobuf.CodedInputStream input) static GrpcService.EnvoyGrpcparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.EnvoyGrpcparseFrom(InputStream input) static GrpcService.EnvoyGrpcparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.EnvoyGrpcparseFrom(ByteBuffer data) static GrpcService.EnvoyGrpcparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GrpcService.EnvoyGrpc> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER- See Also:
-
clusterName_
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER- See Also:
-
authority_
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER- See Also:
-
retryPolicy_
-
MAX_RECEIVE_MESSAGE_LENGTH_FIELD_NUMBER
public static final int MAX_RECEIVE_MESSAGE_LENGTH_FIELD_NUMBER- See Also:
-
maxReceiveMessageLength_
private com.google.protobuf.UInt32Value maxReceiveMessageLength_ -
SKIP_ENVOY_HEADERS_FIELD_NUMBER
public static final int SKIP_ENVOY_HEADERS_FIELD_NUMBER- See Also:
-
skipEnvoyHeaders_
private boolean skipEnvoyHeaders_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
EnvoyGrpc
private EnvoyGrpc(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
EnvoyGrpc
private EnvoyGrpc()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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.
-
hasRetryPolicy
public boolean hasRetryPolicy()Indicates the retry policy for re-establishing the gRPC stream This field is optional. If max interval is not provided, it will be set to ten times the provided base interval. Currently only supported for xDS gRPC streams. If not set, xDS gRPC streams default base interval:500ms, maximum interval:30s will be applied.
.envoy.config.core.v3.RetryPolicy retry_policy = 3;- Specified by:
hasRetryPolicyin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Indicates the retry policy for re-establishing the gRPC stream This field is optional. If max interval is not provided, it will be set to ten times the provided base interval. Currently only supported for xDS gRPC streams. If not set, xDS gRPC streams default base interval:500ms, maximum interval:30s will be applied.
.envoy.config.core.v3.RetryPolicy retry_policy = 3;- Specified by:
getRetryPolicyin interfaceGrpcService.EnvoyGrpcOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
Indicates the retry policy for re-establishing the gRPC stream This field is optional. If max interval is not provided, it will be set to ten times the provided base interval. Currently only supported for xDS gRPC streams. If not set, xDS gRPC streams default base interval:500ms, maximum interval:30s will be applied.
.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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GrpcService.EnvoyGrpc parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GrpcService.EnvoyGrpc.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-