Class ServerTlsPolicy.MTLSPolicy.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<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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • getClientValidationCaCount

        public int getClientValidationCaCount()
        
         Defines the mechanism to obtain the Certificate Authority certificate to
         validate the client certificate.
         
        repeated .google.cloud.networksecurity.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ValidationCA client_validation_ca = 1;
      • addClientValidationCaBuilder

        public ValidationCA.Builder addClientValidationCaBuilder()
        
         Defines the mechanism to obtain the Certificate Authority certificate to
         validate the client certificate.
         
        repeated .google.cloud.networksecurity.v1.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.v1.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.v1.ValidationCA client_validation_ca = 1;
      • setUnknownFields

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

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