- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.2
- 0.4.0
- 0.3.1
- 0.2.0
- 0.1.1
public static final class Certificate.Builder extends GeneratedMessageV3.Builder<Certificate.Builder> implements CertificateOrBuilder
Defines TLS certificate.
Protobuf type google.cloud.certificatemanager.v1.Certificate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Certificate.BuilderImplements
CertificateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSanDnsnames(Iterable<String> values)
public Certificate.Builder addAllSanDnsnames(Iterable<String> values)
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 |
values |
Iterable<String> The sanDnsnames to add. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Certificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
addSanDnsnames(String value)
public Certificate.Builder addSanDnsnames(String value)
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 |
value |
String The sanDnsnames to add. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
addSanDnsnamesBytes(ByteString value)
public Certificate.Builder addSanDnsnamesBytes(ByteString value)
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 |
value |
ByteString The bytes of the sanDnsnames to add. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
build()
public Certificate build()
Returns | |
---|---|
Type | Description |
Certificate |
buildPartial()
public Certificate buildPartial()
Returns | |
---|---|
Type | Description |
Certificate |
clear()
public Certificate.Builder clear()
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearCreateTime()
public Certificate.Builder clearCreateTime()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearDescription()
public Certificate.Builder clearDescription()
One or more paragraphs of text description of a certificate.
string description = 8;
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
clearExpireTime()
public Certificate.Builder clearExpireTime()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearField(Descriptors.FieldDescriptor field)
public Certificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearLabels()
public Certificate.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearManaged()
public Certificate.Builder clearManaged()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearName()
public Certificate.Builder clearName()
A user-defined name of the certificate. Certificate names must be unique
globally and match pattern projects/*/locations/*/certificates/*
.
string name = 1;
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Certificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearPemCertificate()
public Certificate.Builder clearPemCertificate()
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
clearSanDnsnames()
public Certificate.Builder 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 | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
clearScope()
public Certificate.Builder clearScope()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
clearSelfManaged()
public Certificate.Builder clearSelfManaged()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearType()
public Certificate.Builder clearType()
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clearUpdateTime()
public Certificate.Builder clearUpdateTime()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Certificate.Builder |
clone()
public Certificate.Builder clone()
Returns | |
---|---|
Type | Description |
Certificate.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public 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 |
getDefaultInstanceForType()
public Certificate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Certificate |
getDescription()
public String getDescription()
One or more paragraphs of text description of a certificate.
string description = 8;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
One or more paragraphs of text description of a certificate.
string description = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpireTime()
public 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. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getExpireTimeOrBuilder()
public 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 Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getManaged()
public 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. |
getManagedBuilder()
public Certificate.ManagedCertificate.Builder getManagedBuilder()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
Returns | |
---|---|
Type | Description |
Certificate.ManagedCertificate.Builder |
getManagedOrBuilder()
public 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 |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPemCertificate()
public 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 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 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 |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sanDnsnames at the given index. |
getSanDnsnamesBytes(int index)
public 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 |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sanDnsnames at the given index. |
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];
Returns | |
---|---|
Type | Description |
int |
The count of sanDnsnames. |
getSanDnsnamesList()
public 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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sanDnsnames. |
getScope()
public Certificate.Scope getScope()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Certificate.Scope |
The scope. |
getScopeValue()
public int getScopeValue()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for scope. |
getSelfManaged()
public 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. |
getSelfManagedBuilder()
public Certificate.SelfManagedCertificate.Builder getSelfManagedBuilder()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
Returns | |
---|---|
Type | Description |
Certificate.SelfManagedCertificate.Builder |
getSelfManagedOrBuilder()
public 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 |
getTypeCase()
public Certificate.TypeCase getTypeCase()
Returns | |
---|---|
Type | Description |
Certificate.TypeCase |
getUpdateTime()
public 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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 |
hasCreateTime()
public 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 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 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. |
hasSelfManaged()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Certificate.Builder mergeCreateTime(Timestamp value)
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeExpireTime(Timestamp value)
public Certificate.Builder mergeExpireTime(Timestamp value)
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeFrom(Certificate other)
public Certificate.Builder mergeFrom(Certificate other)
Parameter | |
---|---|
Name | Description |
other |
Certificate |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Certificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Certificate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeManaged(Certificate.ManagedCertificate value)
public Certificate.Builder mergeManaged(Certificate.ManagedCertificate value)
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
Parameter | |
---|---|
Name | Description |
value |
Certificate.ManagedCertificate |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeSelfManaged(Certificate.SelfManagedCertificate value)
public Certificate.Builder mergeSelfManaged(Certificate.SelfManagedCertificate value)
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
Parameter | |
---|---|
Name | Description |
value |
Certificate.SelfManagedCertificate |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
mergeUpdateTime(Timestamp value)
public Certificate.Builder mergeUpdateTime(Timestamp value)
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
putAllLabels(Map<String,String> values)
public Certificate.Builder putAllLabels(Map<String,String> values)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
putLabels(String key, String value)
public Certificate.Builder putLabels(String key, String value)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
removeLabels(String key)
public Certificate.Builder removeLabels(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setCreateTime(Timestamp value)
public Certificate.Builder setCreateTime(Timestamp value)
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Certificate.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setDescription(String value)
public Certificate.Builder setDescription(String value)
One or more paragraphs of text description of a certificate.
string description = 8;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Certificate.Builder setDescriptionBytes(ByteString value)
One or more paragraphs of text description of a certificate.
string description = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setExpireTime(Timestamp value)
public Certificate.Builder setExpireTime(Timestamp value)
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public Certificate.Builder setExpireTime(Timestamp.Builder builderForValue)
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Certificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setManaged(Certificate.ManagedCertificate value)
public Certificate.Builder setManaged(Certificate.ManagedCertificate value)
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
Parameter | |
---|---|
Name | Description |
value |
Certificate.ManagedCertificate |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setManaged(Certificate.ManagedCertificate.Builder builderForValue)
public Certificate.Builder setManaged(Certificate.ManagedCertificate.Builder builderForValue)
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
Parameter | |
---|---|
Name | Description |
builderForValue |
Certificate.ManagedCertificate.Builder |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setName(String value)
public Certificate.Builder setName(String value)
A user-defined name of the certificate. Certificate names must be unique
globally and match pattern projects/*/locations/*/certificates/*
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Certificate.Builder setNameBytes(ByteString value)
A user-defined name of the certificate. Certificate names must be unique
globally and match pattern projects/*/locations/*/certificates/*
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setPemCertificate(String value)
public Certificate.Builder setPemCertificate(String value)
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The pemCertificate to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setPemCertificateBytes(ByteString value)
public Certificate.Builder setPemCertificateBytes(ByteString value)
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pemCertificate to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Certificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setSanDnsnames(int index, String value)
public Certificate.Builder setSanDnsnames(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The sanDnsnames to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setScope(Certificate.Scope value)
public Certificate.Builder setScope(Certificate.Scope value)
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Certificate.Scope The scope to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setScopeValue(int value)
public Certificate.Builder setScopeValue(int value)
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for scope to set. |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
This builder for chaining. |
setSelfManaged(Certificate.SelfManagedCertificate value)
public Certificate.Builder setSelfManaged(Certificate.SelfManagedCertificate value)
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
Parameter | |
---|---|
Name | Description |
value |
Certificate.SelfManagedCertificate |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setSelfManaged(Certificate.SelfManagedCertificate.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Certificate.SelfManagedCertificate.Builder |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setUpdateTime(Timestamp value)
public Certificate.Builder setUpdateTime(Timestamp value)
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Certificate.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Certificate.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Certificate.Builder |