Class ClientTlsPolicy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
- com.google.cloud.networksecurity.v1beta1.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 typegoogle.cloud.networksecurity.v1beta1.ClientTlsPolicy
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
clear
public ClientTlsPolicy.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
getDefaultInstanceForType
public ClientTlsPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClientTlsPolicy build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClientTlsPolicy buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClientTlsPolicy.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
setField
public ClientTlsPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
clearField
public ClientTlsPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
clearOneof
public ClientTlsPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
addRepeatedField
public ClientTlsPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
mergeFrom
public ClientTlsPolicy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClientTlsPolicy.Builder>
-
mergeFrom
public ClientTlsPolicy.Builder mergeFrom(ClientTlsPolicy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ClientTlsPolicyOrBuilder
Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
clearLabels
public ClientTlsPolicy.Builder clearLabels()
-
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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
- 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 interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
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 interfaceClientTlsPolicyOrBuilder
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
mergeUnknownFields
public final ClientTlsPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientTlsPolicy.Builder>
-
-