public static final class ServerTlsPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.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.v1.ServerTlsPolicy| Modifier and Type | Method and Description |
|---|---|
ServerTlsPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServerTlsPolicy |
build() |
ServerTlsPolicy |
buildPartial() |
ServerTlsPolicy.Builder |
clear() |
ServerTlsPolicy.Builder |
clearAllowOpen()
Determines if server allows plaintext connections.
|
ServerTlsPolicy.Builder |
clearCreateTime()
Output only.
|
ServerTlsPolicy.Builder |
clearDescription()
Free-text description of the resource.
|
ServerTlsPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServerTlsPolicy.Builder |
clearLabels() |
ServerTlsPolicy.Builder |
clearMtlsPolicy()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.Builder |
clearName()
Required.
|
ServerTlsPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServerTlsPolicy.Builder |
clearServerCertificate()
Defines a mechanism to provision server identity (public and private keys).
|
ServerTlsPolicy.Builder |
clearUpdateTime()
Output only.
|
ServerTlsPolicy.Builder |
clone() |
boolean |
containsLabels(String key)
Set of label tags associated with the resource.
|
boolean |
getAllowOpen()
Determines if server allows plaintext connections.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
ServerTlsPolicy |
getDefaultInstanceForType() |
String |
getDescription()
Free-text description of the resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Free-text description of the resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Set of label tags associated with the resource.
|
Map<String,String> |
getLabelsMap()
Set of label tags associated with the resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Set of label tags associated with the resource.
|
String |
getLabelsOrThrow(String key)
Set of label tags associated with the resource.
|
ServerTlsPolicy.MTLSPolicy |
getMtlsPolicy()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.MTLSPolicy.Builder |
getMtlsPolicyBuilder()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.MTLSPolicyOrBuilder |
getMtlsPolicyOrBuilder()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
CertificateProvider |
getServerCertificate()
Defines a mechanism to provision server identity (public and private keys).
|
CertificateProvider.Builder |
getServerCertificateBuilder()
Defines a mechanism to provision server identity (public and private keys).
|
CertificateProviderOrBuilder |
getServerCertificateOrBuilder()
Defines a mechanism to provision server identity (public and private keys).
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasMtlsPolicy()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
boolean |
hasServerCertificate()
Defines a mechanism to provision server identity (public and private keys).
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ServerTlsPolicy.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
ServerTlsPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServerTlsPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServerTlsPolicy.Builder |
mergeFrom(ServerTlsPolicy other) |
ServerTlsPolicy.Builder |
mergeMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.Builder |
mergeServerCertificate(CertificateProvider value)
Defines a mechanism to provision server identity (public and private keys).
|
ServerTlsPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServerTlsPolicy.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
ServerTlsPolicy.Builder |
putAllLabels(Map<String,String> values)
Set of label tags associated with the resource.
|
ServerTlsPolicy.Builder |
putLabels(String key,
String value)
Set of label tags associated with the resource.
|
ServerTlsPolicy.Builder |
removeLabels(String key)
Set of label tags associated with the resource.
|
ServerTlsPolicy.Builder |
setAllowOpen(boolean value)
Determines if server allows plaintext connections.
|
ServerTlsPolicy.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ServerTlsPolicy.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
ServerTlsPolicy.Builder |
setDescription(String value)
Free-text description of the resource.
|
ServerTlsPolicy.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Free-text description of the resource.
|
ServerTlsPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServerTlsPolicy.Builder |
setMtlsPolicy(ServerTlsPolicy.MTLSPolicy.Builder builderForValue)
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.Builder |
setMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.Builder |
setName(String value)
Required.
|
ServerTlsPolicy.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ServerTlsPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServerTlsPolicy.Builder |
setServerCertificate(CertificateProvider.Builder builderForValue)
Defines a mechanism to provision server identity (public and private keys).
|
ServerTlsPolicy.Builder |
setServerCertificate(CertificateProvider value)
Defines a mechanism to provision server identity (public and private keys).
|
ServerTlsPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServerTlsPolicy.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ServerTlsPolicy.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServerTlsPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServerTlsPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServerTlsPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder mergeFrom(ServerTlsPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public ServerTlsPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerTlsPolicy.Builder>IOExceptionpublic String 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];getName in interface ServerTlsPolicyOrBuilderpublic 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];getNameBytes in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.Builder setName(String value)
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];value - The name to set.public ServerTlsPolicy.Builder 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];public ServerTlsPolicy.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public String getDescription()
Free-text description of the resource.
string description = 2;getDescription in interface ServerTlsPolicyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Free-text description of the resource.
string description = 2;getDescriptionBytes in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.Builder setDescription(String value)
Free-text description of the resource.
string description = 2;value - The description to set.public ServerTlsPolicy.Builder clearDescription()
Free-text description of the resource.
string description = 2;public ServerTlsPolicy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Free-text description of the resource.
string description = 2;value - The bytes for description to set.public boolean hasCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ServerTlsPolicyOrBuilderpublic 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];
getCreateTime in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.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];
public ServerTlsPolicy.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];
public ServerTlsPolicy.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];
public ServerTlsPolicy.Builder clearCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCreateTimeOrBuilder in interface ServerTlsPolicyOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface ServerTlsPolicyOrBuilderpublic 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];
getUpdateTime in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.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];
public ServerTlsPolicy.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];
public ServerTlsPolicy.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];
public ServerTlsPolicy.Builder clearUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getUpdateTimeOrBuilder in interface ServerTlsPolicyOrBuilderpublic int getLabelsCount()
ServerTlsPolicyOrBuilderSet of label tags associated with the resource.
map<string, string> labels = 5;getLabelsCount in interface ServerTlsPolicyOrBuilderpublic boolean containsLabels(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;containsLabels in interface ServerTlsPolicyOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ServerTlsPolicyOrBuilderpublic Map<String,String> getLabelsMap()
Set of label tags associated with the resource.
map<string, string> labels = 5;getLabelsMap in interface ServerTlsPolicyOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Set of label tags associated with the resource.
map<string, string> labels = 5;getLabelsOrDefault in interface ServerTlsPolicyOrBuilderpublic String getLabelsOrThrow(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;getLabelsOrThrow in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.Builder clearLabels()
public ServerTlsPolicy.Builder removeLabels(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;@Deprecated public Map<String,String> getMutableLabels()
public ServerTlsPolicy.Builder putLabels(String key, String value)
Set of label tags associated with the resource.
map<string, string> labels = 5;public ServerTlsPolicy.Builder putAllLabels(Map<String,String> values)
Set of label tags associated with the resource.
map<string, string> labels = 5;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;getAllowOpen in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.Builder setAllowOpen(boolean value)
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;value - The allowOpen to set.public ServerTlsPolicy.Builder 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;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.v1.CertificateProvider server_certificate = 7;hasServerCertificate in interface ServerTlsPolicyOrBuilderpublic CertificateProvider 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.v1.CertificateProvider server_certificate = 7;getServerCertificate in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.Builder setServerCertificate(CertificateProvider value)
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.v1.CertificateProvider server_certificate = 7;public ServerTlsPolicy.Builder setServerCertificate(CertificateProvider.Builder builderForValue)
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.v1.CertificateProvider server_certificate = 7;public ServerTlsPolicy.Builder mergeServerCertificate(CertificateProvider value)
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.v1.CertificateProvider server_certificate = 7;public ServerTlsPolicy.Builder 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.v1.CertificateProvider server_certificate = 7;public CertificateProvider.Builder 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.v1.CertificateProvider server_certificate = 7;public CertificateProviderOrBuilder 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.v1.CertificateProvider server_certificate = 7;getServerCertificateOrBuilder in interface ServerTlsPolicyOrBuilderpublic 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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;hasMtlsPolicy in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.MTLSPolicy 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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;getMtlsPolicy in interface ServerTlsPolicyOrBuilderpublic ServerTlsPolicy.Builder setMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)
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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;public ServerTlsPolicy.Builder setMtlsPolicy(ServerTlsPolicy.MTLSPolicy.Builder builderForValue)
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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;public ServerTlsPolicy.Builder mergeMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)
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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;public ServerTlsPolicy.Builder 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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;public ServerTlsPolicy.MTLSPolicy.Builder 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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;public ServerTlsPolicy.MTLSPolicyOrBuilder 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.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;getMtlsPolicyOrBuilder in interface ServerTlsPolicyOrBuilderpublic final ServerTlsPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>public final ServerTlsPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.Builder>Copyright © 2024 Google LLC. All rights reserved.