Interface GrpcService.EnvoyGrpcOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcService.EnvoyGrpc,GrpcService.EnvoyGrpc.Builder
- Enclosing class:
- GrpcService
public static interface GrpcService.EnvoyGrpcOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthority()The ``:authority`` header in the grpc request.com.google.protobuf.ByteStringgetAuthorityBytes()The ``:authority`` header in the grpc request.StringgetClusterName()The name of the upstream gRPC cluster.com.google.protobuf.ByteStringgetClusterNameBytes()The name of the upstream gRPC cluster.RetryPolicygetRetryPolicy()Indicates the retry policy for re-establishing the gRPC stream This field is optional.RetryPolicyOrBuildergetRetryPolicyOrBuilder()Indicates the retry policy for re-establishing the gRPC stream This field is optional.booleanhasRetryPolicy()Indicates the retry policy for re-establishing the gRPC stream This field is optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getClusterName
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) = { ... }- Returns:
- The clusterName.
-
getClusterNameBytes
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) = { ... }- Returns:
- The bytes for clusterName.
-
getAuthority
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) = { ... }- Returns:
- The authority.
-
getAuthorityBytes
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) = { ... }- Returns:
- The bytes for authority.
-
hasRetryPolicy
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;- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
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;- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
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;
-
-