Class GrpcService.GoogleGrpc.Builder

    • Method Detail

      • 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.Builder<GrpcService.GoogleGrpc.Builder>
      • clear

        public GrpcService.GoogleGrpc.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • getDefaultInstanceForType

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

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

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

        public GrpcService.GoogleGrpc.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • clearField

        public GrpcService.GoogleGrpc.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • clearOneof

        public GrpcService.GoogleGrpc.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • setRepeatedField

        public GrpcService.GoogleGrpc.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • addRepeatedField

        public GrpcService.GoogleGrpc.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • mergeFrom

        public GrpcService.GoogleGrpc.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GrpcService.GoogleGrpc.Builder>
        Throws:
        IOException
      • 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.
      • setTargetUri

        public GrpcService.GoogleGrpc.Builder setTargetUri​(String value)
         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) = { ... }
        Parameters:
        value - The targetUri to set.
        Returns:
        This builder for chaining.
      • clearTargetUri

        public GrpcService.GoogleGrpc.Builder clearTargetUri()
         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:
        This builder for chaining.
      • setTargetUriBytes

        public GrpcService.GoogleGrpc.Builder setTargetUriBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for targetUri to set.
        Returns:
        This builder for chaining.
      • 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.
      • clearChannelCredentials

        public GrpcService.GoogleGrpc.Builder clearChannelCredentials()
        .envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
      • 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
      • setCallCredentials

        public GrpcService.GoogleGrpc.Builder setCallCredentials​(int index,
                                                                 GrpcService.GoogleGrpc.CallCredentials value)
         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;
      • setCallCredentials

        public GrpcService.GoogleGrpc.Builder setCallCredentials​(int index,
                                                                 GrpcService.GoogleGrpc.CallCredentials.Builder builderForValue)
         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;
      • addCallCredentials

        public GrpcService.GoogleGrpc.Builder addCallCredentials​(GrpcService.GoogleGrpc.CallCredentials value)
         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;
      • addCallCredentials

        public GrpcService.GoogleGrpc.Builder addCallCredentials​(int index,
                                                                 GrpcService.GoogleGrpc.CallCredentials value)
         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;
      • addCallCredentials

        public GrpcService.GoogleGrpc.Builder addCallCredentials​(int index,
                                                                 GrpcService.GoogleGrpc.CallCredentials.Builder builderForValue)
         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;
      • clearCallCredentials

        public GrpcService.GoogleGrpc.Builder clearCallCredentials()
         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;
      • removeCallCredentials

        public GrpcService.GoogleGrpc.Builder removeCallCredentials​(int index)
         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;
      • getCallCredentialsBuilder

        public GrpcService.GoogleGrpc.CallCredentials.Builder getCallCredentialsBuilder​(int index)
         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;
      • addCallCredentialsBuilder

        public GrpcService.GoogleGrpc.CallCredentials.Builder addCallCredentialsBuilder()
         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;
      • addCallCredentialsBuilder

        public GrpcService.GoogleGrpc.CallCredentials.Builder addCallCredentialsBuilder​(int index)
         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;
      • getCallCredentialsBuilderList

        public List<GrpcService.GoogleGrpc.CallCredentials.Builder> getCallCredentialsBuilderList()
         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

        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.
      • setStatPrefix

        public GrpcService.GoogleGrpc.Builder setStatPrefix​(String value)
         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) = { ... }
        Parameters:
        value - The statPrefix to set.
        Returns:
        This builder for chaining.
      • clearStatPrefix

        public GrpcService.GoogleGrpc.Builder clearStatPrefix()
         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:
        This builder for chaining.
      • setStatPrefixBytes

        public GrpcService.GoogleGrpc.Builder setStatPrefixBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for statPrefix to set.
        Returns:
        This builder for chaining.
      • 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.
      • setCredentialsFactoryName

        public GrpcService.GoogleGrpc.Builder setCredentialsFactoryName​(String value)
         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;
        Parameters:
        value - The credentialsFactoryName to set.
        Returns:
        This builder for chaining.
      • clearCredentialsFactoryName

        public GrpcService.GoogleGrpc.Builder clearCredentialsFactoryName()
         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:
        This builder for chaining.
      • setCredentialsFactoryNameBytes

        public GrpcService.GoogleGrpc.Builder setCredentialsFactoryNameBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for credentialsFactoryName to set.
        Returns:
        This builder for chaining.
      • 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.
      • setConfig

        public GrpcService.GoogleGrpc.Builder setConfig​(com.google.protobuf.Struct value)
         Additional configuration for site-specific customizations of the Google
         gRPC library.
         
        .google.protobuf.Struct config = 6;
      • setConfig

        public GrpcService.GoogleGrpc.Builder setConfig​(com.google.protobuf.Struct.Builder builderForValue)
         Additional configuration for site-specific customizations of the Google
         gRPC library.
         
        .google.protobuf.Struct config = 6;
      • mergeConfig

        public GrpcService.GoogleGrpc.Builder mergeConfig​(com.google.protobuf.Struct value)
         Additional configuration for site-specific customizations of the Google
         gRPC library.
         
        .google.protobuf.Struct config = 6;
      • clearConfig

        public GrpcService.GoogleGrpc.Builder clearConfig()
         Additional configuration for site-specific customizations of the Google
         gRPC library.
         
        .google.protobuf.Struct config = 6;
      • getConfigBuilder

        public com.google.protobuf.Struct.Builder getConfigBuilder()
         Additional configuration for site-specific customizations of the Google
         gRPC library.
         
        .google.protobuf.Struct config = 6;
      • 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
      • setUnknownFields

        public final GrpcService.GoogleGrpc.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>
      • mergeUnknownFields

        public final GrpcService.GoogleGrpc.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.GoogleGrpc.Builder>