public interface CertificateOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Optional. Set of labels associated with a Certificate.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsTags(String key)
public abstract boolean containsTags(String key)Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
map<string, string> tags = 17 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescription()
public abstract String getDescription()Optional. One or more paragraphs of text description of a certificate.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. One or more paragraphs of text description of a certificate.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getExpireTime()
public abstract Timestamp getExpireTime()Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeOrBuilder()
public abstract TimestampOrBuilder getExpireTimeOrBuilder()Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract int getLabelsCount()Optional. Set of labels associated with a Certificate.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Optional. Set of labels associated with a Certificate.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)Optional. Set of labels associated with a Certificate.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)Optional. Set of labels associated with a Certificate.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getManaged()
public abstract Certificate.ManagedCertificate getManaged()If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
| Returns | |
|---|---|
| Type | Description |
Certificate.ManagedCertificate |
The managed. |
getManagedIdentity()
public abstract Certificate.ManagedIdentityCertificate getManagedIdentity()If set, contains configuration and state of a managed identity certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedIdentityCertificate managed_identity = 18;
| Returns | |
|---|---|
| Type | Description |
Certificate.ManagedIdentityCertificate |
The managedIdentity. |
getManagedIdentityOrBuilder()
public abstract Certificate.ManagedIdentityCertificateOrBuilder getManagedIdentityOrBuilder()If set, contains configuration and state of a managed identity certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedIdentityCertificate managed_identity = 18;
| Returns | |
|---|---|
| Type | Description |
Certificate.ManagedIdentityCertificateOrBuilder |
|
getManagedOrBuilder()
public abstract Certificate.ManagedCertificateOrBuilder getManagedOrBuilder()If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
| Returns | |
|---|---|
| Type | Description |
Certificate.ManagedCertificateOrBuilder |
|
getName()
public abstract String getName() Identifier. A user-defined name of the certificate. Certificate names must
be unique globally and match pattern
projects/*/locations/*/certificates/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. A user-defined name of the certificate. Certificate names must
be unique globally and match pattern
projects/*/locations/*/certificates/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPemCertificate()
public abstract String getPemCertificate()Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pemCertificate. |
getPemCertificateBytes()
public abstract ByteString getPemCertificateBytes()Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pemCertificate. |
getSanDnsnames(int index)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The sanDnsnames at the given index. |
getSanDnsnamesBytes(int index)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the sanDnsnames at the given index. |
getSanDnsnamesCount()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The count of sanDnsnames. |
getSanDnsnamesList()
public abstract 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 | |
|---|---|
| Type | Description |
List<String> |
A list containing the sanDnsnames. |
getScope()
public abstract Certificate.Scope getScope()Optional. Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Certificate.Scope |
The scope. |
getScopeValue()
public abstract int getScopeValue()Optional. Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for scope. |
getSelfManaged()
public abstract Certificate.SelfManagedCertificate getSelfManaged()If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
| Returns | |
|---|---|
| Type | Description |
Certificate.SelfManagedCertificate |
The selfManaged. |
getSelfManagedOrBuilder()
public abstract Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder()If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
| Returns | |
|---|---|
| Type | Description |
Certificate.SelfManagedCertificateOrBuilder |
|
getTags() (deprecated)
public abstract Map<String,String> getTags()Use #getTagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsCount()
public abstract int getTagsCount()Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
map<string, string> tags = 17 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsMap()
public abstract Map<String,String> getTagsMap()Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
map<string, string> tags = 17 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsOrDefault(String key, String defaultValue)
public abstract String getTagsOrDefault(String key, String defaultValue)Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
map<string, string> tags = 17 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTagsOrThrow(String key)
public abstract String getTagsOrThrow(String key)Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
map<string, string> tags = 17 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTypeCase()
public abstract Certificate.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
Certificate.TypeCase |
|
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUsedBy(int index)
public abstract Certificate.UsedBy getUsedBy(int index)Output only. The list of resources that use this Certificate.
repeated .google.cloud.certificatemanager.v1.Certificate.UsedBy used_by = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Certificate.UsedBy |
|
getUsedByCount()
public abstract int getUsedByCount()Output only. The list of resources that use this Certificate.
repeated .google.cloud.certificatemanager.v1.Certificate.UsedBy used_by = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getUsedByList()
public abstract List<Certificate.UsedBy> getUsedByList()Output only. The list of resources that use this Certificate.
repeated .google.cloud.certificatemanager.v1.Certificate.UsedBy used_by = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<UsedBy> |
|
getUsedByOrBuilder(int index)
public abstract Certificate.UsedByOrBuilder getUsedByOrBuilder(int index)Output only. The list of resources that use this Certificate.
repeated .google.cloud.certificatemanager.v1.Certificate.UsedBy used_by = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Certificate.UsedByOrBuilder |
|
getUsedByOrBuilderList()
public abstract List<? extends Certificate.UsedByOrBuilder> getUsedByOrBuilderList()Output only. The list of resources that use this Certificate.
repeated .google.cloud.certificatemanager.v1.Certificate.UsedBy used_by = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.certificatemanager.v1.Certificate.UsedByOrBuilder> |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasExpireTime()
public abstract boolean hasExpireTime()Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hasManaged()
public abstract boolean hasManaged()If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the managed field is set. |
hasManagedIdentity()
public abstract boolean hasManagedIdentity()If set, contains configuration and state of a managed identity certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedIdentityCertificate managed_identity = 18;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the managedIdentity field is set. |
hasSelfManaged()
public abstract boolean hasSelfManaged()If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfManaged field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |