Class ServerTlsPolicy.MTLSPolicy.Builder

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

public static final class ServerTlsPolicy.MTLSPolicy.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.MTLSPolicy.Builder> implements ServerTlsPolicy.MTLSPolicyOrBuilder
 Specification of the MTLSPolicy.
 
Protobuf type google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy
  • 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<ServerTlsPolicy.MTLSPolicy.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<ServerTlsPolicy.MTLSPolicy.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<ServerTlsPolicy.MTLSPolicy.Builder>
    • getDefaultInstanceForType

      public ServerTlsPolicy.MTLSPolicy 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 ServerTlsPolicy.MTLSPolicy buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ServerTlsPolicy.MTLSPolicy.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<ServerTlsPolicy.MTLSPolicy.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<ServerTlsPolicy.MTLSPolicy.Builder>
    • mergeFrom

      public ServerTlsPolicy.MTLSPolicy.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<ServerTlsPolicy.MTLSPolicy.Builder>
      Throws:
      IOException
    • getClientValidationCaList

      public List<ValidationCA> getClientValidationCaList()
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
      Specified by:
      getClientValidationCaList in interface ServerTlsPolicy.MTLSPolicyOrBuilder
    • getClientValidationCaCount

      public int getClientValidationCaCount()
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
      Specified by:
      getClientValidationCaCount in interface ServerTlsPolicy.MTLSPolicyOrBuilder
    • getClientValidationCa

      public ValidationCA getClientValidationCa(int index)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
      Specified by:
      getClientValidationCa in interface ServerTlsPolicy.MTLSPolicyOrBuilder
    • setClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder setClientValidationCa(int index, ValidationCA value)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • setClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder setClientValidationCa(int index, ValidationCA.Builder builderForValue)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • addClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(ValidationCA value)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • addClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(int index, ValidationCA value)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • addClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(ValidationCA.Builder builderForValue)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • addClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(int index, ValidationCA.Builder builderForValue)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • addAllClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder addAllClientValidationCa(Iterable<? extends ValidationCA> values)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • clearClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder clearClientValidationCa()
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • removeClientValidationCa

      public ServerTlsPolicy.MTLSPolicy.Builder removeClientValidationCa(int index)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • getClientValidationCaBuilder

      public ValidationCA.Builder getClientValidationCaBuilder(int index)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • getClientValidationCaOrBuilder

      public ValidationCAOrBuilder getClientValidationCaOrBuilder(int index)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
      Specified by:
      getClientValidationCaOrBuilder in interface ServerTlsPolicy.MTLSPolicyOrBuilder
    • getClientValidationCaOrBuilderList

      public List<? extends ValidationCAOrBuilder> getClientValidationCaOrBuilderList()
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
      Specified by:
      getClientValidationCaOrBuilderList in interface ServerTlsPolicy.MTLSPolicyOrBuilder
    • addClientValidationCaBuilder

      public ValidationCA.Builder addClientValidationCaBuilder()
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • addClientValidationCaBuilder

      public ValidationCA.Builder addClientValidationCaBuilder(int index)
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
    • getClientValidationCaBuilderList

      public List<ValidationCA.Builder> getClientValidationCaBuilderList()
      
       Defines the mechanism to obtain the Certificate Authority certificate to
       validate the client certificate.
       
      repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;