Interface GrpcService.GoogleGrpcOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcService.GoogleGrpc
,GrpcService.GoogleGrpc.Builder
- Enclosing class:
GrpcService
public static interface GrpcService.GoogleGrpcOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCallCredentials
(int index) A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.int
A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.getCallCredentialsOrBuilder
(int index) A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.Custom channels args.Custom channels args..envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
.envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
com.google.protobuf.Struct
Additional configuration for site-specific customizations of the Google gRPC library.com.google.protobuf.StructOrBuilder
Additional configuration for site-specific customizations of the Google gRPC library.The name of the Google gRPC credentials factory to use.com.google.protobuf.ByteString
The name of the Google gRPC credentials factory to use.com.google.protobuf.UInt32Value
How many bytes each stream can buffer internally.com.google.protobuf.UInt32ValueOrBuilder
How many bytes each stream can buffer internally.The human readable prefix to use when emitting statistics for the gRPC service.com.google.protobuf.ByteString
The human readable prefix to use when emitting statistics for the gRPC service.The target URI when using the `Google C++ gRPC client <https://github.com/grpc/grpc>`_.com.google.protobuf.ByteString
The target URI when using the `Google C++ gRPC client <https://github.com/grpc/grpc>`_.boolean
Custom channels args.boolean
.envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
boolean
Additional configuration for site-specific customizations of the Google gRPC library.boolean
How many bytes each stream can buffer internally.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTargetUri
String getTargetUri()The target URI when using the `Google C++ gRPC client <https://github.com/grpc/grpc>`_. SSL credentials will be supplied in :ref:`channel_credentials <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.channel_credentials>`.
string target_uri = 1 [(.validate.rules) = { ... }
- Returns:
- The targetUri.
-
getTargetUriBytes
com.google.protobuf.ByteString getTargetUriBytes()The target URI when using the `Google C++ gRPC client <https://github.com/grpc/grpc>`_. SSL credentials will be supplied in :ref:`channel_credentials <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.channel_credentials>`.
string target_uri = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for targetUri.
-
hasChannelCredentials
boolean hasChannelCredentials().envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
- Returns:
- Whether the channelCredentials field is set.
-
getChannelCredentials
GrpcService.GoogleGrpc.ChannelCredentials getChannelCredentials().envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
- Returns:
- The channelCredentials.
-
getChannelCredentialsOrBuilder
GrpcService.GoogleGrpc.ChannelCredentialsOrBuilder getChannelCredentialsOrBuilder().envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
-
getCallCredentialsList
List<GrpcService.GoogleGrpc.CallCredentials> getCallCredentialsList()A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.
repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
-
getCallCredentials
A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.
repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
-
getCallCredentialsCount
int getCallCredentialsCount()A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.
repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
-
getCallCredentialsOrBuilderList
List<? extends GrpcService.GoogleGrpc.CallCredentialsOrBuilder> getCallCredentialsOrBuilderList()A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.
repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
-
getCallCredentialsOrBuilder
A set of call credentials that can be composed with `channel credentials <https://grpc.io/docs/guides/auth.html#credential-types>`_.
repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
-
getStatPrefix
String getStatPrefix()The human readable prefix to use when emitting statistics for the gRPC service. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 streams_total, Counter, Total number of streams opened streams_closed_<gRPC status code>, Counter, Total streams closed with <gRPC status code>
string stat_prefix = 4 [(.validate.rules) = { ... }
- Returns:
- The statPrefix.
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()The human readable prefix to use when emitting statistics for the gRPC service. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 streams_total, Counter, Total number of streams opened streams_closed_<gRPC status code>, Counter, Total streams closed with <gRPC status code>
string stat_prefix = 4 [(.validate.rules) = { ... }
- Returns:
- The bytes for statPrefix.
-
getCredentialsFactoryName
String getCredentialsFactoryName()The name of the Google gRPC credentials factory to use. This must have been registered with Envoy. If this is empty, a default credentials factory will be used that sets up channel credentials based on other configuration parameters.
string credentials_factory_name = 5;
- Returns:
- The credentialsFactoryName.
-
getCredentialsFactoryNameBytes
com.google.protobuf.ByteString getCredentialsFactoryNameBytes()The name of the Google gRPC credentials factory to use. This must have been registered with Envoy. If this is empty, a default credentials factory will be used that sets up channel credentials based on other configuration parameters.
string credentials_factory_name = 5;
- Returns:
- The bytes for credentialsFactoryName.
-
hasConfig
boolean hasConfig()Additional configuration for site-specific customizations of the Google gRPC library.
.google.protobuf.Struct config = 6;
- Returns:
- Whether the config field is set.
-
getConfig
com.google.protobuf.Struct getConfig()Additional configuration for site-specific customizations of the Google gRPC library.
.google.protobuf.Struct config = 6;
- Returns:
- The config.
-
getConfigOrBuilder
com.google.protobuf.StructOrBuilder getConfigOrBuilder()Additional configuration for site-specific customizations of the Google gRPC library.
.google.protobuf.Struct config = 6;
-
hasPerStreamBufferLimitBytes
boolean hasPerStreamBufferLimitBytes()How many bytes each stream can buffer internally. If not set an implementation defined default is applied (1MiB).
.google.protobuf.UInt32Value per_stream_buffer_limit_bytes = 7;
- Returns:
- Whether the perStreamBufferLimitBytes field is set.
-
getPerStreamBufferLimitBytes
com.google.protobuf.UInt32Value getPerStreamBufferLimitBytes()How many bytes each stream can buffer internally. If not set an implementation defined default is applied (1MiB).
.google.protobuf.UInt32Value per_stream_buffer_limit_bytes = 7;
- Returns:
- The perStreamBufferLimitBytes.
-
getPerStreamBufferLimitBytesOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getPerStreamBufferLimitBytesOrBuilder()How many bytes each stream can buffer internally. If not set an implementation defined default is applied (1MiB).
.google.protobuf.UInt32Value per_stream_buffer_limit_bytes = 7;
-
hasChannelArgs
boolean hasChannelArgs()Custom channels args.
.envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
- Returns:
- Whether the channelArgs field is set.
-
getChannelArgs
GrpcService.GoogleGrpc.ChannelArgs getChannelArgs()Custom channels args.
.envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
- Returns:
- The channelArgs.
-
getChannelArgsOrBuilder
GrpcService.GoogleGrpc.ChannelArgsOrBuilder getChannelArgsOrBuilder()Custom channels args.
.envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
-