Class CertificateRevocationList.Builder (2.50.0)

public static final class CertificateRevocationList.Builder extends GeneratedMessageV3.Builder<CertificateRevocationList.Builder> implements CertificateRevocationListOrBuilder

A CertificateRevocationList corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.

Protobuf type google.cloud.security.privateca.v1.CertificateRevocationList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRevokedCertificates(Iterable<? extends CertificateRevocationList.RevokedCertificate> values)

public CertificateRevocationList.Builder addAllRevokedCertificates(Iterable<? extends CertificateRevocationList.RevokedCertificate> values)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate>
Returns
Type Description
CertificateRevocationList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateRevocationList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateRevocationList.Builder
Overrides

addRevokedCertificates(CertificateRevocationList.RevokedCertificate value)

public CertificateRevocationList.Builder addRevokedCertificates(CertificateRevocationList.RevokedCertificate value)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CertificateRevocationList.RevokedCertificate
Returns
Type Description
CertificateRevocationList.Builder

addRevokedCertificates(CertificateRevocationList.RevokedCertificate.Builder builderForValue)

public CertificateRevocationList.Builder addRevokedCertificates(CertificateRevocationList.RevokedCertificate.Builder builderForValue)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CertificateRevocationList.RevokedCertificate.Builder
Returns
Type Description
CertificateRevocationList.Builder

addRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate value)

public CertificateRevocationList.Builder addRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate value)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CertificateRevocationList.RevokedCertificate
Returns
Type Description
CertificateRevocationList.Builder

addRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate.Builder builderForValue)

public CertificateRevocationList.Builder addRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate.Builder builderForValue)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CertificateRevocationList.RevokedCertificate.Builder
Returns
Type Description
CertificateRevocationList.Builder

addRevokedCertificatesBuilder()

public CertificateRevocationList.RevokedCertificate.Builder addRevokedCertificatesBuilder()

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

addRevokedCertificatesBuilder(int index)

public CertificateRevocationList.RevokedCertificate.Builder addRevokedCertificatesBuilder(int index)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

build()

public CertificateRevocationList build()
Returns
Type Description
CertificateRevocationList

buildPartial()

public CertificateRevocationList buildPartial()
Returns
Type Description
CertificateRevocationList

clear()

public CertificateRevocationList.Builder clear()
Returns
Type Description
CertificateRevocationList.Builder
Overrides

clearAccessUrl()

public CertificateRevocationList.Builder clearAccessUrl()

Output only. The location where 'pem_crl' can be accessed.

string access_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

clearCreateTime()

public CertificateRevocationList.Builder clearCreateTime()

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

clearField(Descriptors.FieldDescriptor field)

public CertificateRevocationList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateRevocationList.Builder
Overrides

clearLabels()

public CertificateRevocationList.Builder clearLabels()
Returns
Type Description
CertificateRevocationList.Builder

clearName()

public CertificateRevocationList.Builder clearName()

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateRevocationList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateRevocationList.Builder
Overrides

clearPemCrl()

public CertificateRevocationList.Builder clearPemCrl()

Output only. The PEM-encoded X.509 CRL.

string pem_crl = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

clearRevisionId()

public CertificateRevocationList.Builder clearRevisionId()

Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

clearRevokedCertificates()

public CertificateRevocationList.Builder clearRevokedCertificates()

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

clearSequenceNumber()

public CertificateRevocationList.Builder clearSequenceNumber()

Output only. The CRL sequence number that appears in pem_crl.

int64 sequence_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

clearState()

public CertificateRevocationList.Builder clearState()

Output only. The State for this CertificateRevocationList.

.google.cloud.security.privateca.v1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

clearUpdateTime()

public CertificateRevocationList.Builder clearUpdateTime()

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.Builder

clone()

public CertificateRevocationList.Builder clone()
Returns
Type Description
CertificateRevocationList.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAccessUrl()

public String getAccessUrl()

Output only. The location where 'pem_crl' can be accessed.

string access_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The accessUrl.

getAccessUrlBytes()

public ByteString getAccessUrlBytes()

Output only. The location where 'pem_crl' can be accessed.

string access_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for accessUrl.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateRevocationList getDefaultInstanceForType()
Returns
Type Description
CertificateRevocationList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPemCrl()

public String getPemCrl()

Output only. The PEM-encoded X.509 CRL.

string pem_crl = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The pemCrl.

getPemCrlBytes()

public ByteString getPemCrlBytes()

Output only. The PEM-encoded X.509 CRL.

string pem_crl = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for pemCrl.

getRevisionId()

public String getRevisionId()

Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public ByteString getRevisionIdBytes()

Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for revisionId.

getRevokedCertificates(int index)

public CertificateRevocationList.RevokedCertificate getRevokedCertificates(int index)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateRevocationList.RevokedCertificate

getRevokedCertificatesBuilder(int index)

public CertificateRevocationList.RevokedCertificate.Builder getRevokedCertificatesBuilder(int index)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

getRevokedCertificatesBuilderList()

public List<CertificateRevocationList.RevokedCertificate.Builder> getRevokedCertificatesBuilderList()

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRevokedCertificatesCount()

public int getRevokedCertificatesCount()

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRevokedCertificatesList()

public List<CertificateRevocationList.RevokedCertificate> getRevokedCertificatesList()

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RevokedCertificate>

getRevokedCertificatesOrBuilder(int index)

public CertificateRevocationList.RevokedCertificateOrBuilder getRevokedCertificatesOrBuilder(int index)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateRevocationList.RevokedCertificateOrBuilder

getRevokedCertificatesOrBuilderList()

public List<? extends CertificateRevocationList.RevokedCertificateOrBuilder> getRevokedCertificatesOrBuilderList()

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificateOrBuilder>

getSequenceNumber()

public long getSequenceNumber()

Output only. The CRL sequence number that appears in pem_crl.

int64 sequence_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The sequenceNumber.

getState()

public CertificateRevocationList.State getState()

Output only. The State for this CertificateRevocationList.

.google.cloud.security.privateca.v1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateRevocationList.State

The state.

getStateValue()

public int getStateValue()

Output only. The State for this CertificateRevocationList.

.google.cloud.security.privateca.v1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.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
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public CertificateRevocationList.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateRevocationList.Builder

mergeFrom(CertificateRevocationList other)

public CertificateRevocationList.Builder mergeFrom(CertificateRevocationList other)
Parameter
Name Description
other CertificateRevocationList
Returns
Type Description
CertificateRevocationList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateRevocationList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CertificateRevocationList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateRevocationList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateRevocationList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateRevocationList.Builder
Overrides

mergeUpdateTime(Timestamp value)

public CertificateRevocationList.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateRevocationList.Builder

putAllLabels(Map<String,String> values)

public CertificateRevocationList.Builder putAllLabels(Map<String,String> values)

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
CertificateRevocationList.Builder

putLabels(String key, String value)

public CertificateRevocationList.Builder putLabels(String key, String value)

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
CertificateRevocationList.Builder

removeLabels(String key)

public CertificateRevocationList.Builder removeLabels(String key)

Optional. Labels with user-defined metadata.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
CertificateRevocationList.Builder

removeRevokedCertificates(int index)

public CertificateRevocationList.Builder removeRevokedCertificates(int index)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateRevocationList.Builder

setAccessUrl(String value)

public CertificateRevocationList.Builder setAccessUrl(String value)

Output only. The location where 'pem_crl' can be accessed.

string access_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The accessUrl to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setAccessUrlBytes(ByteString value)

public CertificateRevocationList.Builder setAccessUrlBytes(ByteString value)

Output only. The location where 'pem_crl' can be accessed.

string access_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for accessUrl to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public CertificateRevocationList.Builder setCreateTime(Timestamp value)

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateRevocationList.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CertificateRevocationList.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this CertificateRevocationList was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CertificateRevocationList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateRevocationList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateRevocationList.Builder
Overrides

setName(String value)

public CertificateRevocationList.Builder setName(String value)

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CertificateRevocationList.Builder setNameBytes(ByteString value)

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setPemCrl(String value)

public CertificateRevocationList.Builder setPemCrl(String value)

Output only. The PEM-encoded X.509 CRL.

string pem_crl = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The pemCrl to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setPemCrlBytes(ByteString value)

public CertificateRevocationList.Builder setPemCrlBytes(ByteString value)

Output only. The PEM-encoded X.509 CRL.

string pem_crl = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for pemCrl to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CertificateRevocationList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CertificateRevocationList.Builder
Overrides

setRevisionId(String value)

public CertificateRevocationList.Builder setRevisionId(String value)

Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The revisionId to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setRevisionIdBytes(ByteString value)

public CertificateRevocationList.Builder setRevisionIdBytes(ByteString value)

Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for revisionId to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate value)

public CertificateRevocationList.Builder setRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate value)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CertificateRevocationList.RevokedCertificate
Returns
Type Description
CertificateRevocationList.Builder

setRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate.Builder builderForValue)

public CertificateRevocationList.Builder setRevokedCertificates(int index, CertificateRevocationList.RevokedCertificate.Builder builderForValue)

Output only. The revoked serial numbers that appear in pem_crl.

repeated .google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CertificateRevocationList.RevokedCertificate.Builder
Returns
Type Description
CertificateRevocationList.Builder

setSequenceNumber(long value)

public CertificateRevocationList.Builder setSequenceNumber(long value)

Output only. The CRL sequence number that appears in pem_crl.

int64 sequence_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The sequenceNumber to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setState(CertificateRevocationList.State value)

public CertificateRevocationList.Builder setState(CertificateRevocationList.State value)

Output only. The State for this CertificateRevocationList.

.google.cloud.security.privateca.v1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CertificateRevocationList.State

The state to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setStateValue(int value)

public CertificateRevocationList.Builder setStateValue(int value)

Output only. The State for this CertificateRevocationList.

.google.cloud.security.privateca.v1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
CertificateRevocationList.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateRevocationList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateRevocationList.Builder
Overrides

setUpdateTime(Timestamp value)

public CertificateRevocationList.Builder setUpdateTime(Timestamp value)

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateRevocationList.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public CertificateRevocationList.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which this CertificateRevocationList was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CertificateRevocationList.Builder