Interface CertificateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Certificate,Certificate.Builder
public interface CertificateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Set of labels associated with a Certificate.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDescription()One or more paragraphs of text description of a certificate.com.google.protobuf.ByteStringgetDescriptionBytes()One or more paragraphs of text description of a certificate.com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Set of labels associated with a Certificate.Map<String,String>getLabelsMap()Set of labels associated with a Certificate.StringgetLabelsOrDefault(String key, String defaultValue)Set of labels associated with a Certificate.StringgetLabelsOrThrow(String key)Set of labels associated with a Certificate.Certificate.ManagedCertificategetManaged()If set, contains configuration and state of a managed certificate.Certificate.ManagedCertificateOrBuildergetManagedOrBuilder()If set, contains configuration and state of a managed certificate.StringgetName()A user-defined name of the certificate.com.google.protobuf.ByteStringgetNameBytes()A user-defined name of the certificate.StringgetPemCertificate()Output only.com.google.protobuf.ByteStringgetPemCertificateBytes()Output only.StringgetSanDnsnames(int index)Output only.com.google.protobuf.ByteStringgetSanDnsnamesBytes(int index)Output only.intgetSanDnsnamesCount()Output only.List<String>getSanDnsnamesList()Output only.Certificate.ScopegetScope()Immutable.intgetScopeValue()Immutable.Certificate.SelfManagedCertificategetSelfManaged()If set, defines data of a self-managed certificate.Certificate.SelfManagedCertificateOrBuildergetSelfManagedOrBuilder()If set, defines data of a self-managed certificate.Certificate.TypeCasegetTypeCase()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasExpireTime()Output only.booleanhasManaged()If set, contains configuration and state of a managed certificate.booleanhasSelfManaged()If set, defines data of a self-managed certificate.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()
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()
One or more paragraphs of text description of a certificate.
string description = 8;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
One or more paragraphs of text description of a certificate.
string description = 8;- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
Set of labels associated with a Certificate.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Set of labels associated with a Certificate.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
-
hasSelfManaged
boolean hasSelfManaged()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;- Returns:
- Whether the selfManaged field is set.
-
getSelfManaged
Certificate.SelfManagedCertificate getSelfManaged()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;- Returns:
- The selfManaged.
-
getSelfManagedOrBuilder
Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
-
hasManaged
boolean hasManaged()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;- Returns:
- Whether the managed field is set.
-
getManaged
Certificate.ManagedCertificate getManaged()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;- Returns:
- The managed.
-
getManagedOrBuilder
Certificate.ManagedCertificateOrBuilder getManagedOrBuilder()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
-
getSanDnsnamesList
List<String> getSanDnsnamesList()
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the sanDnsnames.
-
getSanDnsnamesCount
int getSanDnsnamesCount()
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of sanDnsnames.
-
getSanDnsnames
String getSanDnsnames(int index)
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The sanDnsnames at the given index.
-
getSanDnsnamesBytes
com.google.protobuf.ByteString getSanDnsnamesBytes(int index)
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sanDnsnames at the given index.
-
getPemCertificate
String getPemCertificate()
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The pemCertificate.
-
getPemCertificateBytes
com.google.protobuf.ByteString getPemCertificateBytes()
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for pemCertificate.
-
hasExpireTime
boolean hasExpireTime()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.Timestamp getExpireTime()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getScopeValue
int getScopeValue()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for scope.
-
getScope
Certificate.Scope getScope()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The scope.
-
getTypeCase
Certificate.TypeCase getTypeCase()
-
-