Class Certificate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
com.google.cloud.certificatemanager.v1.Certificate.Builder
- All Implemented Interfaces:
CertificateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Certificate
public static final class Certificate.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
implements CertificateOrBuilder
Defines TLS certificate.Protobuf type
google.cloud.certificatemanager.v1.Certificate-
Method Summary
Modifier and TypeMethodDescriptionaddAllSanDnsnames(Iterable<String> values) Output only.addSanDnsnames(String value) Output only.addSanDnsnamesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.One or more paragraphs of text description of a certificate.Output only.If set, contains configuration and state of a managed certificate.A user-defined name of the certificate.Output only.Output only.Immutable.If set, defines data of a self-managed certificate.Output only.booleancontainsLabels(String key) Set of labels associated with a Certificate.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.One or more paragraphs of text description of a certificate.com.google.protobuf.ByteStringOne or more paragraphs of text description of a certificate.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intSet of labels associated with a Certificate.Set of labels associated with a Certificate.getLabelsOrDefault(String key, String defaultValue) Set of labels associated with a Certificate.getLabelsOrThrow(String key) Set of labels associated with a Certificate.If set, contains configuration and state of a managed certificate.If set, contains configuration and state of a managed certificate.If set, contains configuration and state of a managed certificate.Deprecated.getName()A user-defined name of the certificate.com.google.protobuf.ByteStringA user-defined name of the certificate.Output only.com.google.protobuf.ByteStringOutput only.getSanDnsnames(int index) Output only.com.google.protobuf.ByteStringgetSanDnsnamesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getScope()Immutable.intImmutable.If set, defines data of a self-managed certificate.If set, defines data of a self-managed certificate.If set, defines data of a self-managed certificate.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanIf set, contains configuration and state of a managed certificate.booleanIf set, defines data of a self-managed certificate.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeExpireTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(Certificate other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If set, contains configuration and state of a managed certificate.If set, defines data of a self-managed certificate.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Set of labels associated with a Certificate.Set of labels associated with a Certificate.removeLabels(String key) Set of labels associated with a Certificate.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) One or more paragraphs of text description of a certificate.setDescriptionBytes(com.google.protobuf.ByteString value) One or more paragraphs of text description of a certificate.setExpireTime(com.google.protobuf.Timestamp value) Output only.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.If set, contains configuration and state of a managed certificate.setManaged(Certificate.ManagedCertificate.Builder builderForValue) If set, contains configuration and state of a managed certificate.A user-defined name of the certificate.setNameBytes(com.google.protobuf.ByteString value) A user-defined name of the certificate.setPemCertificate(String value) Output only.setPemCertificateBytes(com.google.protobuf.ByteString value) Output only.setSanDnsnames(int index, String value) Output only.setScope(Certificate.Scope value) Immutable.setScopeValue(int value) Immutable.If set, defines data of a self-managed certificate.setSelfManaged(Certificate.SelfManagedCertificate.Builder builderForValue) If set, defines data of a self-managed certificate.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Certificate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
-
mergeFrom
public Certificate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Certificate.Builder>- Throws:
IOException
-
getTypeCase
- Specified by:
getTypeCasein interfaceCertificateOrBuilder
-
clearType
-
getName
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;- Specified by:
getNamein interfaceCertificateOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for name.
-
setName
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
One or more paragraphs of text description of a certificate.
string description = 8;- Specified by:
getDescriptionin interfaceCertificateOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()One or more paragraphs of text description of a certificate.
string description = 8;- Specified by:
getDescriptionBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for description.
-
setDescription
One or more paragraphs of text description of a certificate.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
One or more paragraphs of text description of a certificate.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
One or more paragraphs of text description of a certificate.
string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCertificateOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceCertificateOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceCertificateOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceCertificateOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceCertificateOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceCertificateOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:CertificateOrBuilderSet of labels associated with a Certificate.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceCertificateOrBuilder
-
containsLabels
Set of labels associated with a Certificate.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceCertificateOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCertificateOrBuilder
-
getLabelsMap
Set of labels associated with a Certificate.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceCertificateOrBuilder
-
getLabelsOrDefault
Set of labels associated with a Certificate.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceCertificateOrBuilder
-
getLabelsOrThrow
Set of labels associated with a Certificate.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceCertificateOrBuilder
-
clearLabels
-
removeLabels
Set of labels associated with a Certificate.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Set of labels associated with a Certificate.
map<string, string> labels = 4; -
putAllLabels
Set of labels associated with a Certificate.
map<string, string> labels = 4; -
hasSelfManaged
public boolean hasSelfManaged()If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;- Specified by:
hasSelfManagedin interfaceCertificateOrBuilder- Returns:
- Whether the selfManaged field is set.
-
getSelfManaged
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;- Specified by:
getSelfManagedin interfaceCertificateOrBuilder- Returns:
- The selfManaged.
-
setSelfManaged
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; -
setSelfManaged
public Certificate.Builder setSelfManaged(Certificate.SelfManagedCertificate.Builder builderForValue) If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; -
mergeSelfManaged
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; -
clearSelfManaged
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; -
getSelfManagedBuilder
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; -
getSelfManagedOrBuilder
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;- Specified by:
getSelfManagedOrBuilderin interfaceCertificateOrBuilder
-
hasManaged
public boolean hasManaged()If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;- Specified by:
hasManagedin interfaceCertificateOrBuilder- Returns:
- Whether the managed field is set.
-
getManaged
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;- Specified by:
getManagedin interfaceCertificateOrBuilder- Returns:
- The managed.
-
setManaged
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; -
setManaged
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; -
mergeManaged
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; -
clearManaged
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; -
getManagedBuilder
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; -
getManagedOrBuilder
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;- Specified by:
getManagedOrBuilderin interfaceCertificateOrBuilder
-
getSanDnsnamesList
public com.google.protobuf.ProtocolStringList 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];- Specified by:
getSanDnsnamesListin interfaceCertificateOrBuilder- Returns:
- A list containing the sanDnsnames.
-
getSanDnsnamesCount
public 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];- Specified by:
getSanDnsnamesCountin interfaceCertificateOrBuilder- Returns:
- The count of sanDnsnames.
-
getSanDnsnames
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];- Specified by:
getSanDnsnamesin interfaceCertificateOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sanDnsnames at the given index.
-
getSanDnsnamesBytes
public 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];- Specified by:
getSanDnsnamesBytesin interfaceCertificateOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sanDnsnames at the given index.
-
setSanDnsnames
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 to set the value at.value- The sanDnsnames to set.- Returns:
- This builder for chaining.
-
addSanDnsnames
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:
value- The sanDnsnames to add.- Returns:
- This builder for chaining.
-
addAllSanDnsnames
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:
values- The sanDnsnames to add.- Returns:
- This builder for chaining.
-
clearSanDnsnames
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:
- This builder for chaining.
-
addSanDnsnamesBytes
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:
value- The bytes of the sanDnsnames to add.- Returns:
- This builder for chaining.
-
getPemCertificate
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificatein interfaceCertificateOrBuilder- Returns:
- The pemCertificate.
-
getPemCertificateBytes
public com.google.protobuf.ByteString getPemCertificateBytes()Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for pemCertificate.
-
setPemCertificate
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The pemCertificate to set.- Returns:
- This builder for chaining.
-
clearPemCertificate
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPemCertificateBytes
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for pemCertificate to set.- Returns:
- This builder for chaining.
-
hasExpireTime
public boolean hasExpireTime()Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExpireTimein interfaceCertificateOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public 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];- Specified by:
getExpireTimein interfaceCertificateOrBuilder- Returns:
- The expireTime.
-
setExpireTime
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setExpireTime
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeExpireTime
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearExpireTime
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getExpireTimeOrBuilder
public 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];- Specified by:
getExpireTimeOrBuilderin interfaceCertificateOrBuilder
-
getScopeValue
public int getScopeValue()Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getScopeValuein interfaceCertificateOrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
setScopeValue
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for scope to set.- Returns:
- This builder for chaining.
-
getScope
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getScopein interfaceCertificateOrBuilder- Returns:
- The scope.
-
setScope
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-