Class GrpcService.GoogleGrpc

    • Field Detail

      • TARGET_URI_FIELD_NUMBER

        public static final int TARGET_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • 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
      • CREDENTIALS_FACTORY_NAME_FIELD_NUMBER

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

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

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

        public 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) = { ... }
        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_api_field_core.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.api.v2.core.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.api.v2.core.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
        Specified by:
        getCallCredentialsCount in interface GrpcService.GoogleGrpcOrBuilder
      • getStatPrefix

        public 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 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
      • isInitialized

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

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

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

        public boolean equals​(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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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