Interface ClientTlsPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClientTlsPolicy,ClientTlsPolicy.Builder
public interface ClientTlsPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.CertificateProvidergetClientCertificate()Optional.CertificateProviderOrBuildergetClientCertificateOrBuilder()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.ValidationCAgetServerValidationCa(int index)Optional.intgetServerValidationCaCount()Optional.List<ValidationCA>getServerValidationCaList()Optional.ValidationCAOrBuildergetServerValidationCaOrBuilder(int index)Optional.List<? extends ValidationCAOrBuilder>getServerValidationCaOrBuilderList()Optional.StringgetSni()Optional.com.google.protobuf.ByteStringgetSniBytes()Optional.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasClientCertificate()Optional.booleanhasCreateTime()Output only.booleanhasUpdateTime()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 ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getDescription
String getDescription()
Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Free-text description of the resource.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- 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()
Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
containsLabels
boolean containsLabels(String key)
Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrDefault
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];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Optional. Set of label tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getSni
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];- Returns:
- The sni.
-
getSniBytes
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];- Returns:
- The bytes for sni.
-
hasClientCertificate
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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the clientCertificate field is set.
-
getClientCertificate
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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The clientCertificate.
-
getClientCertificateOrBuilder
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.v1.CertificateProvider client_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getServerValidationCaList
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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getServerValidationCa
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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getServerValidationCaCount
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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getServerValidationCaOrBuilderList
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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getServerValidationCaOrBuilder
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.v1.ValidationCA server_validation_ca = 8 [(.google.api.field_behavior) = OPTIONAL];
-
-