Interface ServerTlsPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerTlsPolicy
,ServerTlsPolicy.Builder
public interface ServerTlsPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Free-text description of the resource.com.google.protobuf.ByteString
getDescriptionBytes()
Free-text description of the resource.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.MTLSPolicyOrBuilder
getMtlsPolicyOrBuilder()
Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS).String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.CertificateProvider
getServerCertificate()
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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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];
- Returns:
- The name.
-
getNameBytes
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];
- Returns:
- The bytes for name.
-
getDescription
String getDescription()
Free-text description of the resource.
string description = 2;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Free-text description of the resource.
string description = 2;
- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
getLabelsCount
int getLabelsCount()
Set of label tags associated with the resource.
map<string, string> labels = 5;
-
containsLabels
boolean containsLabels(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Set of label tags associated with the resource.
map<string, string> labels = 5;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Set of label tags associated with the resource.
map<string, string> labels = 5;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;
-
getAllowOpen
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;
- Returns:
- The allowOpen.
-
hasServerCertificate
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;
- Returns:
- Whether the serverCertificate field is set.
-
getServerCertificate
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.v1beta1.CertificateProvider server_certificate = 7;
- Returns:
- The serverCertificate.
-
getServerCertificateOrBuilder
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.v1beta1.CertificateProvider server_certificate = 7;
-
hasMtlsPolicy
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;
- Returns:
- Whether the mtlsPolicy field is set.
-
getMtlsPolicy
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.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
- Returns:
- The mtlsPolicy.
-
getMtlsPolicyOrBuilder
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.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
-
-