Class ClientTlsPolicy.Builder

  • All Implemented Interfaces:
    ClientTlsPolicyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ClientTlsPolicy

    public static final class ClientTlsPolicy.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
    implements ClientTlsPolicyOrBuilder
     ClientTlsPolicy is a resource that specifies how a client should authenticate
     connections to backends of a service. This resource itself does not affect
     configuration unless it is attached to a backend service resource.
     
    Protobuf type google.cloud.networksecurity.v1beta1.ClientTlsPolicy
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
      • clear

        public ClientTlsPolicy.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<ClientTlsPolicy.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<ClientTlsPolicy.Builder>
      • getDefaultInstanceForType

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

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

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

        public ClientTlsPolicy.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<ClientTlsPolicy.Builder>
      • setField

        public ClientTlsPolicy.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
      • clearField

        public ClientTlsPolicy.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<ClientTlsPolicy.Builder>
      • clearOneof

        public ClientTlsPolicy.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<ClientTlsPolicy.Builder>
      • setRepeatedField

        public ClientTlsPolicy.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<ClientTlsPolicy.Builder>
      • addRepeatedField

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

        public ClientTlsPolicy.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<ClientTlsPolicy.Builder>
      • isInitialized

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

        public ClientTlsPolicy.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<ClientTlsPolicy.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. Name of the ClientTlsPolicy resource. It matches the pattern
         `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface ClientTlsPolicyOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. Name of the ClientTlsPolicy resource. It matches the pattern
         `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface ClientTlsPolicyOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ClientTlsPolicy.Builder setName​(String value)
         Required. Name of the ClientTlsPolicy resource. It matches the pattern
         `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ClientTlsPolicy.Builder clearName()
         Required. Name of the ClientTlsPolicy resource. It matches the pattern
         `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNameBytes

        public ClientTlsPolicy.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. Name of the ClientTlsPolicy resource. It matches the pattern
         `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         Optional. Free-text description of the resource.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescription in interface ClientTlsPolicyOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional. Free-text description of the resource.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescriptionBytes in interface ClientTlsPolicyOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public ClientTlsPolicy.Builder setDescription​(String value)
         Optional. Free-text description of the resource.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public ClientTlsPolicy.Builder clearDescription()
         Optional. Free-text description of the resource.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public ClientTlsPolicy.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Optional. Free-text description of the resource.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface ClientTlsPolicyOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface ClientTlsPolicyOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public ClientTlsPolicy.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public ClientTlsPolicy.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public ClientTlsPolicy.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public ClientTlsPolicy.Builder clearCreateTime()
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The timestamp when the resource was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface ClientTlsPolicyOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface ClientTlsPolicyOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface ClientTlsPolicyOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public ClientTlsPolicy.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public ClientTlsPolicy.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public ClientTlsPolicy.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public ClientTlsPolicy.Builder clearUpdateTime()
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The timestamp when the resource was updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface ClientTlsPolicyOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. Set of label tags associated with the resource.
         
        map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface ClientTlsPolicyOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. Set of label tags associated with the resource.
         
        map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface ClientTlsPolicyOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. Set of label tags associated with the resource.
         
        map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface ClientTlsPolicyOrBuilder
      • removeLabels

        public ClientTlsPolicy.Builder removeLabels​(String key)
         Optional. Set of label tags associated with the resource.
         
        map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public ClientTlsPolicy.Builder putLabels​(String key,
                                                 String value)
         Optional. Set of label tags associated with the resource.
         
        map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public ClientTlsPolicy.Builder putAllLabels​(Map<String,​String> values)
         Optional. Set of label tags associated with the resource.
         
        map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getSni

        public String getSni()
         Optional. Server Name Indication string to present to the server during TLS
         handshake. E.g: "secure.example.com".
         
        string sni = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSni in interface ClientTlsPolicyOrBuilder
        Returns:
        The sni.
      • getSniBytes

        public com.google.protobuf.ByteString getSniBytes()
         Optional. Server Name Indication string to present to the server during TLS
         handshake. E.g: "secure.example.com".
         
        string sni = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSniBytes in interface ClientTlsPolicyOrBuilder
        Returns:
        The bytes for sni.
      • setSni

        public ClientTlsPolicy.Builder setSni​(String value)
         Optional. Server Name Indication string to present to the server during TLS
         handshake. E.g: "secure.example.com".
         
        string sni = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The sni to set.
        Returns:
        This builder for chaining.
      • clearSni

        public ClientTlsPolicy.Builder clearSni()
         Optional. Server Name Indication string to present to the server during TLS
         handshake. E.g: "secure.example.com".
         
        string sni = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setSniBytes

        public ClientTlsPolicy.Builder setSniBytes​(com.google.protobuf.ByteString value)
         Optional. Server Name Indication string to present to the server during TLS
         handshake. E.g: "secure.example.com".
         
        string sni = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for sni to set.
        Returns:
        This builder for chaining.
      • hasClientCertificate

        public boolean hasClientCertificate()
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasClientCertificate in interface ClientTlsPolicyOrBuilder
        Returns:
        Whether the clientCertificate field is set.
      • getClientCertificate

        public CertificateProvider getClientCertificate()
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClientCertificate in interface ClientTlsPolicyOrBuilder
        Returns:
        The clientCertificate.
      • setClientCertificate

        public ClientTlsPolicy.Builder setClientCertificate​(CertificateProvider value)
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
      • setClientCertificate

        public ClientTlsPolicy.Builder setClientCertificate​(CertificateProvider.Builder builderForValue)
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
      • mergeClientCertificate

        public ClientTlsPolicy.Builder mergeClientCertificate​(CertificateProvider value)
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
      • clearClientCertificate

        public ClientTlsPolicy.Builder clearClientCertificate()
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getClientCertificateBuilder

        public CertificateProvider.Builder getClientCertificateBuilder()
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getClientCertificateOrBuilder

        public CertificateProviderOrBuilder getClientCertificateOrBuilder()
         Optional. Defines a mechanism to provision client identity (public and
         private keys) for peer to peer authentication. The presence of this
         dictates mTLS.
         
        .google.cloud.networksecurity.v1beta1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClientCertificateOrBuilder in interface ClientTlsPolicyOrBuilder
      • getServerValidationCaList

        public List<ValidationCA> getServerValidationCaList()
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServerValidationCaList in interface ClientTlsPolicyOrBuilder
      • getServerValidationCaCount

        public int getServerValidationCaCount()
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServerValidationCaCount in interface ClientTlsPolicyOrBuilder
      • getServerValidationCa

        public ValidationCA getServerValidationCa​(int index)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServerValidationCa in interface ClientTlsPolicyOrBuilder
      • setServerValidationCa

        public ClientTlsPolicy.Builder setServerValidationCa​(int index,
                                                             ValidationCA value)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • setServerValidationCa

        public ClientTlsPolicy.Builder setServerValidationCa​(int index,
                                                             ValidationCA.Builder builderForValue)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • addServerValidationCa

        public ClientTlsPolicy.Builder addServerValidationCa​(ValidationCA value)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • addServerValidationCa

        public ClientTlsPolicy.Builder addServerValidationCa​(int index,
                                                             ValidationCA value)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • addServerValidationCa

        public ClientTlsPolicy.Builder addServerValidationCa​(ValidationCA.Builder builderForValue)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • addServerValidationCa

        public ClientTlsPolicy.Builder addServerValidationCa​(int index,
                                                             ValidationCA.Builder builderForValue)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • addAllServerValidationCa

        public ClientTlsPolicy.Builder addAllServerValidationCa​(Iterable<? extends ValidationCA> values)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • clearServerValidationCa

        public ClientTlsPolicy.Builder clearServerValidationCa()
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • removeServerValidationCa

        public ClientTlsPolicy.Builder removeServerValidationCa​(int index)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getServerValidationCaBuilder

        public ValidationCA.Builder getServerValidationCaBuilder​(int index)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getServerValidationCaOrBuilder

        public ValidationCAOrBuilder getServerValidationCaOrBuilder​(int index)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServerValidationCaOrBuilder in interface ClientTlsPolicyOrBuilder
      • getServerValidationCaOrBuilderList

        public List<? extends ValidationCAOrBuilder> getServerValidationCaOrBuilderList()
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServerValidationCaOrBuilderList in interface ClientTlsPolicyOrBuilder
      • addServerValidationCaBuilder

        public ValidationCA.Builder addServerValidationCaBuilder()
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • addServerValidationCaBuilder

        public ValidationCA.Builder addServerValidationCaBuilder​(int index)
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getServerValidationCaBuilderList

        public List<ValidationCA.Builder> getServerValidationCaBuilderList()
         Optional. Defines the mechanism to obtain the Certificate Authority
         certificate to validate the server certificate. If empty, client does not
         validate the server certificate.
         
        repeated .google.cloud.networksecurity.v1beta1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
      • setUnknownFields

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

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