Class CommonTlsContext.CertificateProviderInstance.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<CommonTlsContext.CertificateProviderInstance.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<CommonTlsContext.CertificateProviderInstance.Builder>
      • getDefaultInstanceForType

        public CommonTlsContext.CertificateProviderInstance getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public CommonTlsContext.CertificateProviderInstance buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
      • getInstanceName

        public String getInstanceName()
         Provider instance name. This name must be defined in the client's configuration (e.g., a
         bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config
         field that would be sent in the CertificateProvider message if the config was sent by the
         control plane). If not present, defaults to "default".
         Instance names should generally be defined not in terms of the underlying provider
         implementation (e.g., "file_watcher") but rather in terms of the function of the
         certificates (e.g., "foo_deployment_identity").
         
        string instance_name = 1;
        Specified by:
        getInstanceName in interface CommonTlsContext.CertificateProviderInstanceOrBuilder
      • getInstanceNameBytes

        public com.google.protobuf.ByteString getInstanceNameBytes()
         Provider instance name. This name must be defined in the client's configuration (e.g., a
         bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config
         field that would be sent in the CertificateProvider message if the config was sent by the
         control plane). If not present, defaults to "default".
         Instance names should generally be defined not in terms of the underlying provider
         implementation (e.g., "file_watcher") but rather in terms of the function of the
         certificates (e.g., "foo_deployment_identity").
         
        string instance_name = 1;
        Specified by:
        getInstanceNameBytes in interface CommonTlsContext.CertificateProviderInstanceOrBuilder
      • setInstanceName

        public CommonTlsContext.CertificateProviderInstance.Builder setInstanceName​(String value)
         Provider instance name. This name must be defined in the client's configuration (e.g., a
         bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config
         field that would be sent in the CertificateProvider message if the config was sent by the
         control plane). If not present, defaults to "default".
         Instance names should generally be defined not in terms of the underlying provider
         implementation (e.g., "file_watcher") but rather in terms of the function of the
         certificates (e.g., "foo_deployment_identity").
         
        string instance_name = 1;
      • clearInstanceName

        public CommonTlsContext.CertificateProviderInstance.Builder clearInstanceName()
         Provider instance name. This name must be defined in the client's configuration (e.g., a
         bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config
         field that would be sent in the CertificateProvider message if the config was sent by the
         control plane). If not present, defaults to "default".
         Instance names should generally be defined not in terms of the underlying provider
         implementation (e.g., "file_watcher") but rather in terms of the function of the
         certificates (e.g., "foo_deployment_identity").
         
        string instance_name = 1;
      • setInstanceNameBytes

        public CommonTlsContext.CertificateProviderInstance.Builder setInstanceNameBytes​(com.google.protobuf.ByteString value)
         Provider instance name. This name must be defined in the client's configuration (e.g., a
         bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config
         field that would be sent in the CertificateProvider message if the config was sent by the
         control plane). If not present, defaults to "default".
         Instance names should generally be defined not in terms of the underlying provider
         implementation (e.g., "file_watcher") but rather in terms of the function of the
         certificates (e.g., "foo_deployment_identity").
         
        string instance_name = 1;
      • getCertificateName

        public String getCertificateName()
         Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "example.com" to specify a certificate for a
         particular domain. Not all provider instances will actually use this field, so the value
         defaults to the empty string.
         
        string certificate_name = 2;
        Specified by:
        getCertificateName in interface CommonTlsContext.CertificateProviderInstanceOrBuilder
      • getCertificateNameBytes

        public com.google.protobuf.ByteString getCertificateNameBytes()
         Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "example.com" to specify a certificate for a
         particular domain. Not all provider instances will actually use this field, so the value
         defaults to the empty string.
         
        string certificate_name = 2;
        Specified by:
        getCertificateNameBytes in interface CommonTlsContext.CertificateProviderInstanceOrBuilder
      • setCertificateName

        public CommonTlsContext.CertificateProviderInstance.Builder setCertificateName​(String value)
         Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "example.com" to specify a certificate for a
         particular domain. Not all provider instances will actually use this field, so the value
         defaults to the empty string.
         
        string certificate_name = 2;
      • clearCertificateName

        public CommonTlsContext.CertificateProviderInstance.Builder clearCertificateName()
         Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "example.com" to specify a certificate for a
         particular domain. Not all provider instances will actually use this field, so the value
         defaults to the empty string.
         
        string certificate_name = 2;
      • setCertificateNameBytes

        public CommonTlsContext.CertificateProviderInstance.Builder setCertificateNameBytes​(com.google.protobuf.ByteString value)
         Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "example.com" to specify a certificate for a
         particular domain. Not all provider instances will actually use this field, so the value
         defaults to the empty string.
         
        string certificate_name = 2;