Class ClientTlsPolicy.Builder (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.81.0 (latest)
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.4
- 0.5.1
- 0.4.4
publicstaticfinalclass ClientTlsPolicy.BuilderextendsGeneratedMessageV3.Builder<ClientTlsPolicy.Builder>implementsClientTlsPolicyOrBuilderClientTlsPolicy 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.v1.ClientTlsPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClientTlsPolicy.BuilderImplements
ClientTlsPolicyOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addAllServerValidationCa(Iterable<? extends ValidationCA> values)
publicClientTlsPolicy.BuilderaddAllServerValidationCa(Iterable<?extendsValidationCA>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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicClientTlsPolicy.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)addServerValidationCa(ValidationCA value)
publicClientTlsPolicy.BuilderaddServerValidationCa(ValidationCAvalue)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
addServerValidationCa(ValidationCA.Builder builderForValue)
publicClientTlsPolicy.BuilderaddServerValidationCa(ValidationCA.BuilderbuilderForValue)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
addServerValidationCa(int index, ValidationCA value)
publicClientTlsPolicy.BuilderaddServerValidationCa(intindex,ValidationCAvalue)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
addServerValidationCa(int index, ValidationCA.Builder builderForValue)
publicClientTlsPolicy.BuilderaddServerValidationCa(intindex,ValidationCA.BuilderbuilderForValue)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
addServerValidationCaBuilder()
publicValidationCA.BuilderaddServerValidationCaBuilder()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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
addServerValidationCaBuilder(int index)
publicValidationCA.BuilderaddServerValidationCaBuilder(intindex)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
build()
publicClientTlsPolicybuild()buildPartial()
publicClientTlsPolicybuildPartial()clear()
publicClientTlsPolicy.Builderclear()clearClientCertificate()
publicClientTlsPolicy.BuilderclearClientCertificate()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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
clearCreateTime()
publicClientTlsPolicy.BuilderclearCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearDescription()
publicClientTlsPolicy.BuilderclearDescription()Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicClientTlsPolicy.BuilderclearField(Descriptors.FieldDescriptorfield)clearLabels()
publicClientTlsPolicy.BuilderclearLabels()clearName()
publicClientTlsPolicy.BuilderclearName() 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];
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicClientTlsPolicy.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearServerValidationCa()
publicClientTlsPolicy.BuilderclearServerValidationCa()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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
clearSni()
publicClientTlsPolicy.BuilderclearSni()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];
This builder for chaining.
clearUpdateTime()
publicClientTlsPolicy.BuilderclearUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
publicClientTlsPolicy.Builderclone()containsLabels(String key)
publicbooleancontainsLabels(Stringkey)Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
getClientCertificate()
publicCertificateProvidergetClientCertificate()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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
The clientCertificate.
getClientCertificateBuilder()
publicCertificateProvider.BuildergetClientCertificateBuilder()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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
getClientCertificateOrBuilder()
publicCertificateProviderOrBuildergetClientCertificateOrBuilder()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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
getCreateTime()
publicTimestampgetCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
The createTime.
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
publicClientTlsPolicygetDefaultInstanceForType()getDescription()
publicStringgetDescription()Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
The description.
getDescriptionBytes()
publicByteStringgetDescriptionBytes()Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
The bytes for description.
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getLabels()
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
getLabelsCount()
publicintgetLabelsCount()Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
getLabelsMap()
publicMap<String,String>getLabelsMap()Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
getMutableLabels()
publicMap<String,String>getMutableLabels()Use alternate mutation accessors instead.
getName()
publicStringgetName() 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];
The name.
getNameBytes()
publicByteStringgetNameBytes() 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];
The bytes for name.
getServerValidationCa(int index)
publicValidationCAgetServerValidationCa(intindex)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getServerValidationCaBuilder(int index)
publicValidationCA.BuildergetServerValidationCaBuilder(intindex)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getServerValidationCaBuilderList()
publicList<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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getServerValidationCaCount()
publicintgetServerValidationCaCount()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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getServerValidationCaList()
publicList<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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getServerValidationCaOrBuilder(int index)
publicValidationCAOrBuildergetServerValidationCaOrBuilder(intindex)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getServerValidationCaOrBuilderList()
publicList<?extendsValidationCAOrBuilder>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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
getSni()
publicStringgetSni()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];
The sni.
getSniBytes()
publicByteStringgetSniBytes()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];
The bytes for sni.
getUpdateTime()
publicTimestampgetUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
The updateTime.
getUpdateTimeBuilder()
publicTimestamp.BuildergetUpdateTimeBuilder()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasClientCertificate()
publicbooleanhasClientCertificate()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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
Whether the clientCertificate field is set.
hasCreateTime()
publicbooleanhasCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Whether the createTime field is set.
hasUpdateTime()
publicbooleanhasUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Whether the updateTime field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)internalGetMutableMapField(int number)
protectedMapFieldinternalGetMutableMapField(intnumber)isInitialized()
publicfinalbooleanisInitialized()mergeClientCertificate(CertificateProvider value)
publicClientTlsPolicy.BuildermergeClientCertificate(CertificateProvidervalue)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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
mergeCreateTime(Timestamp value)
publicClientTlsPolicy.BuildermergeCreateTime(Timestampvalue)Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(ClientTlsPolicy other)
publicClientTlsPolicy.BuildermergeFrom(ClientTlsPolicyother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicClientTlsPolicy.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicClientTlsPolicy.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalClientTlsPolicy.BuildermergeUnknownFields(UnknownFieldSetunknownFields)mergeUpdateTime(Timestamp value)
publicClientTlsPolicy.BuildermergeUpdateTime(Timestampvalue)Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
putAllLabels(Map<String,String> values)
publicClientTlsPolicy.BuilderputAllLabels(Map<String,String>values)Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
putLabels(String key, String value)
publicClientTlsPolicy.BuilderputLabels(Stringkey,Stringvalue)Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
removeLabels(String key)
publicClientTlsPolicy.BuilderremoveLabels(Stringkey)Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
removeServerValidationCa(int index)
publicClientTlsPolicy.BuilderremoveServerValidationCa(intindex)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
setClientCertificate(CertificateProvider value)
publicClientTlsPolicy.BuildersetClientCertificate(CertificateProvidervalue)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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
setClientCertificate(CertificateProvider.Builder builderForValue)
publicClientTlsPolicy.BuildersetClientCertificate(CertificateProvider.BuilderbuilderForValue)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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
setCreateTime(Timestamp value)
publicClientTlsPolicy.BuildersetCreateTime(Timestampvalue)Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCreateTime(Timestamp.Builder builderForValue)
publicClientTlsPolicy.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setDescription(String value)
publicClientTlsPolicy.BuildersetDescription(Stringvalue)Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
This builder for chaining.
setDescriptionBytes(ByteString value)
publicClientTlsPolicy.BuildersetDescriptionBytes(ByteStringvalue)Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicClientTlsPolicy.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setName(String value)
publicClientTlsPolicy.BuildersetName(Stringvalue) 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];
This builder for chaining.
setNameBytes(ByteString value)
publicClientTlsPolicy.BuildersetNameBytes(ByteStringvalue) 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];
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicClientTlsPolicy.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setServerValidationCa(int index, ValidationCA value)
publicClientTlsPolicy.BuildersetServerValidationCa(intindex,ValidationCAvalue)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
setServerValidationCa(int index, ValidationCA.Builder builderForValue)
publicClientTlsPolicy.BuildersetServerValidationCa(intindex,ValidationCA.BuilderbuilderForValue)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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
setSni(String value)
publicClientTlsPolicy.BuildersetSni(Stringvalue)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];
This builder for chaining.
setSniBytes(ByteString value)
publicClientTlsPolicy.BuildersetSniBytes(ByteStringvalue)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];
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalClientTlsPolicy.BuildersetUnknownFields(UnknownFieldSetunknownFields)setUpdateTime(Timestamp value)
publicClientTlsPolicy.BuildersetUpdateTime(Timestampvalue)Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUpdateTime(Timestamp.Builder builderForValue)
publicClientTlsPolicy.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];