Class CertificateProviderInstance.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CertificateProviderInstance.Builder>
com.google.cloud.networksecurity.v1beta1.CertificateProviderInstance.Builder
All Implemented Interfaces:
CertificateProviderInstanceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CertificateProviderInstance

public static final class CertificateProviderInstance.Builder extends com.google.protobuf.GeneratedMessage.Builder<CertificateProviderInstance.Builder> implements CertificateProviderInstanceOrBuilder
 Specification of a TLS certificate provider instance. Workloads may have one
 or more CertificateProvider instances (plugins) and one of them is enabled
 and configured by specifying this message. Workloads use the values from this
 message to locate and load the CertificateProvider instance configuration.
 
Protobuf type google.cloud.networksecurity.v1beta1.CertificateProviderInstance
  • Method Details

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public CertificateProviderInstance.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CertificateProviderInstance.Builder>
    • mergeFrom

    • isInitialized

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

      public CertificateProviderInstance.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<CertificateProviderInstance.Builder>
      Throws:
      IOException
    • getPluginInstance

      public String getPluginInstance()
       Required. Plugin instance name, used to locate and load CertificateProvider
       instance configuration. Set to "google_cloud_private_spiffe" to use
       Certificate Authority Service certificate provider instance.
       
      string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPluginInstance in interface CertificateProviderInstanceOrBuilder
      Returns:
      The pluginInstance.
    • getPluginInstanceBytes

      public com.google.protobuf.ByteString getPluginInstanceBytes()
       Required. Plugin instance name, used to locate and load CertificateProvider
       instance configuration. Set to "google_cloud_private_spiffe" to use
       Certificate Authority Service certificate provider instance.
       
      string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPluginInstanceBytes in interface CertificateProviderInstanceOrBuilder
      Returns:
      The bytes for pluginInstance.
    • setPluginInstance

      public CertificateProviderInstance.Builder setPluginInstance(String value)
       Required. Plugin instance name, used to locate and load CertificateProvider
       instance configuration. Set to "google_cloud_private_spiffe" to use
       Certificate Authority Service certificate provider instance.
       
      string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The pluginInstance to set.
      Returns:
      This builder for chaining.
    • clearPluginInstance

      public CertificateProviderInstance.Builder clearPluginInstance()
       Required. Plugin instance name, used to locate and load CertificateProvider
       instance configuration. Set to "google_cloud_private_spiffe" to use
       Certificate Authority Service certificate provider instance.
       
      string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setPluginInstanceBytes

      public CertificateProviderInstance.Builder setPluginInstanceBytes(com.google.protobuf.ByteString value)
       Required. Plugin instance name, used to locate and load CertificateProvider
       instance configuration. Set to "google_cloud_private_spiffe" to use
       Certificate Authority Service certificate provider instance.
       
      string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for pluginInstance to set.
      Returns:
      This builder for chaining.