Class ServerTlsPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.Builder
- All Implemented Interfaces:
ServerTlsPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServerTlsPolicy
public static final class ServerTlsPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
implements ServerTlsPolicyOrBuilder
ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target https proxy or endpoint config selector resource.Protobuf type
google.cloud.networksecurity.v1beta1.ServerTlsPolicy-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Determines if server allows plaintext connections.Output only.Free-text description of the resource.Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).Required.Defines a mechanism to provision server identity (public and private keys).Output only.booleancontainsLabels(String key) Set of label tags associated with the resource.booleanDetermines if server allows plaintext connections.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Free-text description of the resource.com.google.protobuf.ByteStringFree-text description of the resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intSet of label tags associated with the resource.Set of label tags associated with the resource.getLabelsOrDefault(String key, String defaultValue) Set of label tags associated with the resource.getLabelsOrThrow(String key) Set of label tags associated with the resource.Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.Defines a mechanism to provision server identity (public and private keys).Defines a mechanism to provision server identity (public and private keys).Defines a mechanism to provision server identity (public and private keys).com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanDefines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).booleanDefines a mechanism to provision server identity (public and private keys).booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ServerTlsPolicy other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).Defines a mechanism to provision server identity (public and private keys).mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Set of label tags associated with the resource.Set of label tags associated with the resource.removeLabels(String key) Set of label tags associated with the resource.setAllowOpen(boolean value) Determines if server allows plaintext connections.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Free-text description of the resource.setDescriptionBytes(com.google.protobuf.ByteString value) Free-text description of the resource.Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).setMtlsPolicy(ServerTlsPolicy.MTLSPolicy.Builder builderForValue) Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).Required.setNameBytes(com.google.protobuf.ByteString value) Required.Defines a mechanism to provision server identity (public and private keys).setServerCertificate(CertificateProvider.Builder builderForValue) Defines a mechanism to provision server identity (public and private keys).setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerTlsPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServerTlsPolicy.Builder>
-
mergeFrom
public ServerTlsPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerTlsPolicy.Builder>- Throws:
IOException
-
getName
Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceServerTlsPolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceServerTlsPolicyOrBuilder- Returns:
- The bytes for name.
-
setName
Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Free-text description of the resource.
string description = 2;- Specified by:
getDescriptionin interfaceServerTlsPolicyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Free-text description of the resource.
string description = 2;- Specified by:
getDescriptionBytesin interfaceServerTlsPolicyOrBuilder- Returns:
- The bytes for description.
-
setDescription
Free-text description of the resource.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Free-text description of the resource.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Free-text description of the resource.
string description = 2;- 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:
hasCreateTimein interfaceServerTlsPolicyOrBuilder- 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:
getCreateTimein interfaceServerTlsPolicyOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceServerTlsPolicyOrBuilder
-
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:
hasUpdateTimein interfaceServerTlsPolicyOrBuilder- 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:
getUpdateTimein interfaceServerTlsPolicyOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceServerTlsPolicyOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ServerTlsPolicyOrBuilderSet of label tags associated with the resource.
map<string, string> labels = 5;- Specified by:
getLabelsCountin interfaceServerTlsPolicyOrBuilder
-
containsLabels
Set of label tags associated with the resource.
map<string, string> labels = 5;- Specified by:
containsLabelsin interfaceServerTlsPolicyOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceServerTlsPolicyOrBuilder
-
getLabelsMap
Set of label tags associated with the resource.
map<string, string> labels = 5;- Specified by:
getLabelsMapin interfaceServerTlsPolicyOrBuilder
-
getLabelsOrDefault
Set of label tags associated with the resource.
map<string, string> labels = 5;- Specified by:
getLabelsOrDefaultin interfaceServerTlsPolicyOrBuilder
-
getLabelsOrThrow
Set of label tags associated with the resource.
map<string, string> labels = 5;- Specified by:
getLabelsOrThrowin interfaceServerTlsPolicyOrBuilder
-
clearLabels
-
removeLabels
Set of label tags associated with the resource.
map<string, string> labels = 5; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Set of label tags associated with the resource.
map<string, string> labels = 5; -
putAllLabels
Set of label tags associated with the resource.
map<string, string> labels = 5; -
getAllowOpen
public boolean getAllowOpen()Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.
bool allow_open = 6;- Specified by:
getAllowOpenin interfaceServerTlsPolicyOrBuilder- Returns:
- The allowOpen.
-
setAllowOpen
Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.
bool allow_open = 6;- Parameters:
value- The allowOpen to set.- Returns:
- This builder for chaining.
-
clearAllowOpen
Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.
bool allow_open = 6;- Returns:
- This builder for chaining.
-
hasServerCertificate
public boolean hasServerCertificate()Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;- Specified by:
hasServerCertificatein interfaceServerTlsPolicyOrBuilder- Returns:
- Whether the serverCertificate field is set.
-
getServerCertificate
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;- Specified by:
getServerCertificatein interfaceServerTlsPolicyOrBuilder- Returns:
- The serverCertificate.
-
setServerCertificate
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7; -
setServerCertificate
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7; -
mergeServerCertificate
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7; -
clearServerCertificate
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7; -
getServerCertificateBuilder
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7; -
getServerCertificateOrBuilder
Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;- Specified by:
getServerCertificateOrBuilderin interfaceServerTlsPolicyOrBuilder
-
hasMtlsPolicy
public boolean hasMtlsPolicy()Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;- Specified by:
hasMtlsPolicyin interfaceServerTlsPolicyOrBuilder- Returns:
- Whether the mtlsPolicy field is set.
-
getMtlsPolicy
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;- Specified by:
getMtlsPolicyin interfaceServerTlsPolicyOrBuilder- Returns:
- The mtlsPolicy.
-
setMtlsPolicy
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8; -
setMtlsPolicy
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8; -
mergeMtlsPolicy
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8; -
clearMtlsPolicy
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8; -
getMtlsPolicyBuilder
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8; -
getMtlsPolicyOrBuilder
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;- Specified by:
getMtlsPolicyOrBuilderin interfaceServerTlsPolicyOrBuilder
-