Class GrpcService.GoogleGrpc

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GrpcService.GoogleGrpcOrBuilder, java.io.Serializable
    Enclosing class:
    GrpcService

    public static final class GrpcService.GoogleGrpc
    extends com.google.protobuf.GeneratedMessage
    implements GrpcService.GoogleGrpcOrBuilder
     [#next-free-field: 9]
     
    Protobuf type envoy.config.core.v3.GrpcService.GoogleGrpc
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • TARGET_URI_FIELD_NUMBER

        public static final int TARGET_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • targetUri_

        private volatile java.lang.Object targetUri_
      • CHANNEL_CREDENTIALS_FIELD_NUMBER

        public static final int CHANNEL_CREDENTIALS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALL_CREDENTIALS_FIELD_NUMBER

        public static final int CALL_CREDENTIALS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STAT_PREFIX_FIELD_NUMBER

        public static final int STAT_PREFIX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • statPrefix_

        private volatile java.lang.Object statPrefix_
      • CREDENTIALS_FACTORY_NAME_FIELD_NUMBER

        public static final int CREDENTIALS_FACTORY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • credentialsFactoryName_

        private volatile java.lang.Object credentialsFactoryName_
      • config_

        private com.google.protobuf.Struct config_
      • PER_STREAM_BUFFER_LIMIT_BYTES_FIELD_NUMBER

        public static final int PER_STREAM_BUFFER_LIMIT_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • perStreamBufferLimitBytes_

        private com.google.protobuf.UInt32Value perStreamBufferLimitBytes_
      • CHANNEL_ARGS_FIELD_NUMBER

        public static final int CHANNEL_ARGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • GoogleGrpc

        private GoogleGrpc​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • GoogleGrpc

        private GoogleGrpc()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getTargetUri

        public java.lang.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) = { ... }
        Specified by:
        getTargetUri in interface GrpcService.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_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.channel_credentials>`.
         
        string target_uri = 1 [(.validate.rules) = { ... }
        Specified by:
        getTargetUriBytes in interface GrpcService.GoogleGrpcOrBuilder
        Returns:
        The bytes for targetUri.
      • hasChannelCredentials

        public boolean hasChannelCredentials()
        .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
        Specified by:
        hasChannelCredentials in interface GrpcService.GoogleGrpcOrBuilder
        Returns:
        Whether the channelCredentials field is set.
      • 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.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
        Specified by:
        getCallCredentialsCount in interface GrpcService.GoogleGrpcOrBuilder
      • getStatPrefix

        public java.lang.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) = { ... }
        Specified by:
        getStatPrefix in interface GrpcService.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:
        getStatPrefixBytes in interface GrpcService.GoogleGrpcOrBuilder
        Returns:
        The bytes for statPrefix.
      • getCredentialsFactoryName

        public java.lang.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;
        Specified by:
        getCredentialsFactoryName in interface GrpcService.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:
        getCredentialsFactoryNameBytes in interface GrpcService.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:
        hasConfig in interface GrpcService.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:
        getConfig in interface GrpcService.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:
        getConfigOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
      • hasPerStreamBufferLimitBytes

        public 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;
        Specified by:
        hasPerStreamBufferLimitBytes in interface GrpcService.GoogleGrpcOrBuilder
        Returns:
        Whether the perStreamBufferLimitBytes field is set.
      • getPerStreamBufferLimitBytes

        public 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;
        Specified by:
        getPerStreamBufferLimitBytes in interface GrpcService.GoogleGrpcOrBuilder
        Returns:
        The perStreamBufferLimitBytes.
      • getPerStreamBufferLimitBytesOrBuilder

        public 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;
        Specified by:
        getPerStreamBufferLimitBytesOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
      • hasChannelArgs

        public boolean hasChannelArgs()
         Custom channels args.
         
        .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
        Specified by:
        hasChannelArgs in interface GrpcService.GoogleGrpcOrBuilder
        Returns:
        Whether the channelArgs field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static GrpcService.GoogleGrpc parseFrom​(java.nio.ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc parseFrom​(java.nio.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

        public static GrpcService.GoogleGrpc parseFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GrpcService.GoogleGrpc parseFrom​(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static GrpcService.GoogleGrpc parseDelimitedFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static GrpcService.GoogleGrpc parseDelimitedFrom​(java.io.InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GrpcService.GoogleGrpc parseFrom​(com.google.protobuf.CodedInputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GrpcService.GoogleGrpc parseFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public GrpcService.GoogleGrpc.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public GrpcService.GoogleGrpc.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected GrpcService.GoogleGrpc.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<GrpcService.GoogleGrpc> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public GrpcService.GoogleGrpc getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder