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
,java.io.Serializable
- Enclosing class:
- GrpcService
public static final class GrpcService.EnvoyGrpc extends com.google.protobuf.GeneratedMessage implements GrpcService.EnvoyGrpcOrBuilder
[#next-free-field: 6]
Protobuf typeenvoy.config.core.v3.GrpcService.EnvoyGrpc
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GrpcService.EnvoyGrpc.Builder
[#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 extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
authority_
static int
AUTHORITY_FIELD_NUMBER
private int
bitField0_
static int
CLUSTER_NAME_FIELD_NUMBER
private java.lang.Object
clusterName_
private static GrpcService.EnvoyGrpc
DEFAULT_INSTANCE
static int
MAX_RECEIVE_MESSAGE_LENGTH_FIELD_NUMBER
private com.google.protobuf.UInt32Value
maxReceiveMessageLength_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<GrpcService.EnvoyGrpc>
PARSER
static int
RETRY_POLICY_FIELD_NUMBER
private RetryPolicy
retryPolicy_
private static long
serialVersionUID
static int
SKIP_ENVOY_HEADERS_FIELD_NUMBER
private boolean
skipEnvoyHeaders_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAuthority()
The ``:authority`` header in the grpc request.com.google.protobuf.ByteString
getAuthorityBytes()
The ``:authority`` header in the grpc request.java.lang.String
getClusterName()
The name of the upstream gRPC cluster.com.google.protobuf.ByteString
getClusterNameBytes()
The name of the upstream gRPC cluster.static GrpcService.EnvoyGrpc
getDefaultInstance()
GrpcService.EnvoyGrpc
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.UInt32Value
getMaxReceiveMessageLength()
Maximum gRPC message size that is allowed to be received.com.google.protobuf.UInt32ValueOrBuilder
getMaxReceiveMessageLengthOrBuilder()
Maximum gRPC message size that is allowed to be received.com.google.protobuf.Parser<GrpcService.EnvoyGrpc>
getParserForType()
RetryPolicy
getRetryPolicy()
Indicates the retry policy for re-establishing the gRPC stream This field is optional.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
Indicates the retry policy for re-establishing the gRPC stream This field is optional.int
getSerializedSize()
boolean
getSkipEnvoyHeaders()
This provides gRPC client level control over envoy generated headers.int
hashCode()
boolean
hasMaxReceiveMessageLength()
Maximum gRPC message size that is allowed to be received.boolean
hasRetryPolicy()
Indicates the retry policy for re-establishing the gRPC stream This field is optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GrpcService.EnvoyGrpc.Builder
newBuilder()
static GrpcService.EnvoyGrpc.Builder
newBuilder(GrpcService.EnvoyGrpc prototype)
GrpcService.EnvoyGrpc.Builder
newBuilderForType()
protected GrpcService.EnvoyGrpc.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static GrpcService.EnvoyGrpc
parseDelimitedFrom(java.io.InputStream input)
static GrpcService.EnvoyGrpc
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GrpcService.EnvoyGrpc
parseFrom(byte[] data)
static GrpcService.EnvoyGrpc
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GrpcService.EnvoyGrpc
parseFrom(com.google.protobuf.ByteString data)
static GrpcService.EnvoyGrpc
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GrpcService.EnvoyGrpc
parseFrom(com.google.protobuf.CodedInputStream input)
static GrpcService.EnvoyGrpc
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GrpcService.EnvoyGrpc
parseFrom(java.io.InputStream input)
static GrpcService.EnvoyGrpc
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GrpcService.EnvoyGrpc
parseFrom(java.nio.ByteBuffer data)
static GrpcService.EnvoyGrpc
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GrpcService.EnvoyGrpc>
parser()
GrpcService.EnvoyGrpc.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
clusterName_
private volatile java.lang.Object clusterName_
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
authority_
private volatile java.lang.Object authority_
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
retryPolicy_
private RetryPolicy retryPolicy_
-
MAX_RECEIVE_MESSAGE_LENGTH_FIELD_NUMBER
public static final int MAX_RECEIVE_MESSAGE_LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxReceiveMessageLength_
private com.google.protobuf.UInt32Value maxReceiveMessageLength_
-
SKIP_ENVOY_HEADERS_FIELD_NUMBER
public static final int SKIP_ENVOY_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
skipEnvoyHeaders_
private boolean skipEnvoyHeaders_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final GrpcService.EnvoyGrpc DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<GrpcService.EnvoyGrpc> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getClusterName
public java.lang.String 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:
getClusterName
in 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:
getClusterNameBytes
in interfaceGrpcService.EnvoyGrpcOrBuilder
- Returns:
- The bytes for clusterName.
-
getAuthority
public java.lang.String 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:
getAuthority
in 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:
getAuthorityBytes
in 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:
hasRetryPolicy
in interfaceGrpcService.EnvoyGrpcOrBuilder
- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public RetryPolicy 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:
getRetryPolicy
in interfaceGrpcService.EnvoyGrpcOrBuilder
- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder 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:
getRetryPolicyOrBuilder
in 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:
hasMaxReceiveMessageLength
in 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:
getMaxReceiveMessageLength
in 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:
getMaxReceiveMessageLengthOrBuilder
in 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:
getSkipEnvoyHeaders
in interfaceGrpcService.EnvoyGrpcOrBuilder
- Returns:
- The skipEnvoyHeaders.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(java.nio.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
public static GrpcService.EnvoyGrpc parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GrpcService.EnvoyGrpc parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GrpcService.EnvoyGrpc parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GrpcService.EnvoyGrpc parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public GrpcService.EnvoyGrpc.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GrpcService.EnvoyGrpc.Builder newBuilder()
-
newBuilder
public static GrpcService.EnvoyGrpc.Builder newBuilder(GrpcService.EnvoyGrpc prototype)
-
toBuilder
public GrpcService.EnvoyGrpc.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GrpcService.EnvoyGrpc.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static GrpcService.EnvoyGrpc getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GrpcService.EnvoyGrpc> parser()
-
getParserForType
public com.google.protobuf.Parser<GrpcService.EnvoyGrpc> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public GrpcService.EnvoyGrpc getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-