Package io.envoyproxy.envoy.api.v2.core
Class GrpcService.GoogleGrpc
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.api.v2.core.GrpcService.GoogleGrpc
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcService.GoogleGrpcOrBuilder,Serializable
- Enclosing class:
- GrpcService
public static final class GrpcService.GoogleGrpc
extends com.google.protobuf.GeneratedMessageV3
implements GrpcService.GoogleGrpcOrBuilder
[#next-free-field: 7]Protobuf type
envoy.api.v2.core.GrpcService.GoogleGrpc- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 7]static final class[#next-free-field: 8]static interfacestatic final classSee https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call credential types.static interfacestatic final classLocal channel credentials.static interfacestatic final classSee https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCallCredentials(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.static GrpcService.GoogleGrpcstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<GrpcService.GoogleGrpc>intThe 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.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GrpcService.GoogleGrpc prototype) protected GrpcService.GoogleGrpc.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GrpcService.GoogleGrpcparseDelimitedFrom(InputStream input) static GrpcService.GoogleGrpcparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.GoogleGrpcparseFrom(byte[] data) static GrpcService.GoogleGrpcparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.GoogleGrpcparseFrom(com.google.protobuf.ByteString data) static GrpcService.GoogleGrpcparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.GoogleGrpcparseFrom(com.google.protobuf.CodedInputStream input) static GrpcService.GoogleGrpcparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.GoogleGrpcparseFrom(InputStream input) static GrpcService.GoogleGrpcparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcService.GoogleGrpcparseFrom(ByteBuffer data) static GrpcService.GoogleGrpcparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GrpcService.GoogleGrpc>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TARGET_URI_FIELD_NUMBER
public static final int TARGET_URI_FIELD_NUMBER- See Also:
-
CHANNEL_CREDENTIALS_FIELD_NUMBER
public static final int CHANNEL_CREDENTIALS_FIELD_NUMBER- See Also:
-
CALL_CREDENTIALS_FIELD_NUMBER
public static final int CALL_CREDENTIALS_FIELD_NUMBER- See Also:
-
STAT_PREFIX_FIELD_NUMBER
public static final int STAT_PREFIX_FIELD_NUMBER- See Also:
-
CREDENTIALS_FACTORY_NAME_FIELD_NUMBER
public static final int CREDENTIALS_FACTORY_NAME_FIELD_NUMBER- See Also:
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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) = { ... }- Specified by:
getTargetUriin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The targetUri.
-
getTargetUriBytes
public 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) = { ... }- Specified by:
getTargetUriBytesin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The bytes for targetUri.
-
hasChannelCredentials
public boolean hasChannelCredentials().envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;- Specified by:
hasChannelCredentialsin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- Whether the channelCredentials field is set.
-
getChannelCredentials
.envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;- Specified by:
getChannelCredentialsin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The channelCredentials.
-
getChannelCredentialsOrBuilder
.envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;- Specified by:
getChannelCredentialsOrBuilderin interfaceGrpcService.GoogleGrpcOrBuilder
-
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;- Specified by:
getCallCredentialsListin interfaceGrpcService.GoogleGrpcOrBuilder
-
getCallCredentialsOrBuilderList
public 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;- Specified by:
getCallCredentialsOrBuilderListin interfaceGrpcService.GoogleGrpcOrBuilder
-
getCallCredentialsCount
public 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;- Specified by:
getCallCredentialsCountin interfaceGrpcService.GoogleGrpcOrBuilder
-
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;- Specified by:
getCallCredentialsin interfaceGrpcService.GoogleGrpcOrBuilder
-
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;- Specified by:
getCallCredentialsOrBuilderin interfaceGrpcService.GoogleGrpcOrBuilder
-
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) = { ... }- Specified by:
getStatPrefixin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public 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) = { ... }- Specified by:
getStatPrefixBytesin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The bytes for statPrefix.
-
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;- Specified by:
getCredentialsFactoryNamein interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The credentialsFactoryName.
-
getCredentialsFactoryNameBytes
public 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;- Specified by:
getCredentialsFactoryNameBytesin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The bytes for credentialsFactoryName.
-
hasConfig
public boolean hasConfig()Additional configuration for site-specific customizations of the Google gRPC library.
.google.protobuf.Struct config = 6;- Specified by:
hasConfigin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
public com.google.protobuf.Struct getConfig()Additional configuration for site-specific customizations of the Google gRPC library.
.google.protobuf.Struct config = 6;- Specified by:
getConfigin interfaceGrpcService.GoogleGrpcOrBuilder- Returns:
- The config.
-
getConfigOrBuilder
public com.google.protobuf.StructOrBuilder getConfigOrBuilder()Additional configuration for site-specific customizations of the Google gRPC library.
.google.protobuf.Struct config = 6;- Specified by:
getConfigOrBuilderin interfaceGrpcService.GoogleGrpcOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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.GoogleGrpc parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.GoogleGrpc parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.GoogleGrpc parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.GoogleGrpc 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.GoogleGrpc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcService.GoogleGrpc 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.GoogleGrpc parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GrpcService.GoogleGrpc parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GrpcService.GoogleGrpc parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GrpcService.GoogleGrpc 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.GoogleGrpc.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-