Package io.envoyproxy.envoy.api.v2.core
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>`_.intA 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>`_..envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;.envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;com.google.protobuf.StructAdditional configuration for site-specific customizations of the Google gRPC library.com.google.protobuf.StructOrBuilderAdditional configuration for site-specific customizations of the Google gRPC library.The name of the Google gRPC credentials factory to use.com.google.protobuf.ByteStringThe name of the Google gRPC credentials factory to use.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>com.google.protobuf.ByteStringThe 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>The target URI when using the `Google C++ gRPC client <https://github.com/grpc/grpc>`_.com.google.protobuf.ByteStringThe target URI when using the `Google C++ gRPC client <https://github.com/grpc/grpc>`_.boolean.envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;booleanAdditional configuration for site-specific customizations of the Google gRPC library.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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_api_field_core.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_api_field_core.GrpcService.GoogleGrpc.channel_credentials>`.
string target_uri = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for targetUri.
-
hasChannelCredentials
boolean hasChannelCredentials().envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;- Returns:
- Whether the channelCredentials field is set.
-
getChannelCredentials
GrpcService.GoogleGrpc.ChannelCredentials getChannelCredentials().envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;- Returns:
- The channelCredentials.
-
getChannelCredentialsOrBuilder
GrpcService.GoogleGrpc.ChannelCredentialsOrBuilder getChannelCredentialsOrBuilder().envoy.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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;
-