Class CertificateRevocationList.Builder (2.14.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.v1beta1.CertificateRevocationList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate>
Returns
TypeDescription
CertificateRevocationList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateRevocationList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCertificateRevocationList.RevokedCertificate
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCertificateRevocationList.RevokedCertificate.Builder
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueCertificateRevocationList.RevokedCertificate
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueCertificateRevocationList.RevokedCertificate.Builder
Returns
TypeDescription
CertificateRevocationList.Builder

addRevokedCertificatesBuilder()

public CertificateRevocationList.RevokedCertificate.Builder addRevokedCertificatesBuilder()

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

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

Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate.Builder

build()

public CertificateRevocationList build()
Returns
TypeDescription
CertificateRevocationList

buildPartial()

public CertificateRevocationList buildPartial()
Returns
TypeDescription
CertificateRevocationList

clear()

public CertificateRevocationList.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateRevocationList.Builder

clearField(Descriptors.FieldDescriptor field)

public CertificateRevocationList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateRevocationList.Builder
Overrides

clearLabels()

public CertificateRevocationList.Builder clearLabels()
Returns
TypeDescription
CertificateRevocationList.Builder

clearName()

public CertificateRevocationList.Builder clearName()

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

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

Returns
TypeDescription
CertificateRevocationList.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateRevocationList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
CertificateRevocationList.Builder

This builder for chaining.

clearState()

public CertificateRevocationList.Builder clearState()

Output only. The State for this CertificateRevocationList.

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

Returns
TypeDescription
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
TypeDescription
CertificateRevocationList.Builder

clone()

public CertificateRevocationList.Builder clone()
Returns
TypeDescription
CertificateRevocationList.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels with user-defined metadata.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateRevocationList getDefaultInstanceForType()
Returns
TypeDescription
CertificateRevocationList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels with user-defined metadata.

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

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels with user-defined metadata.

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

Returns
TypeDescription
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 = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels with user-defined metadata.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

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

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pemCrl.

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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getRevokedCertificatesCount()

public int getRevokedCertificatesCount()

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

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

Returns
TypeDescription
int

getRevokedCertificatesList()

public List<CertificateRevocationList.RevokedCertificate> getRevokedCertificatesList()

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

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

Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.security.privateca.v1beta1.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
TypeDescription
long

The sequenceNumber.

getState()

public CertificateRevocationList.State getState()

Output only. The State for this CertificateRevocationList.

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

Returns
TypeDescription
CertificateRevocationList.State

The state.

getStateValue()

public int getStateValue()

Output only. The State for this CertificateRevocationList.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CertificateRevocationList.Builder

mergeFrom(CertificateRevocationList other)

public CertificateRevocationList.Builder mergeFrom(CertificateRevocationList other)
Parameter
NameDescription
otherCertificateRevocationList
Returns
TypeDescription
CertificateRevocationList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateRevocationList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CertificateRevocationList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateRevocationList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateRevocationList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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 = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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 = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
CertificateRevocationList.Builder

removeLabels(String key)

public CertificateRevocationList.Builder removeLabels(String key)

Optional. Labels with user-defined metadata.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The accessUrl to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for accessUrl to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CertificateRevocationList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateRevocationList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateRevocationList.Builder
Overrides

setName(String value)

public CertificateRevocationList.Builder setName(String value)

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

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CertificateRevocationList.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CertificateRevocationList.Builder setNameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The pemCrl to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pemCrl to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateRevocationList.Builder
Overrides

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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueCertificateRevocationList.RevokedCertificate
Returns
TypeDescription
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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueCertificateRevocationList.RevokedCertificate.Builder
Returns
TypeDescription
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
NameDescription
valuelong

The sequenceNumber to set.

Returns
TypeDescription
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.v1beta1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCertificateRevocationList.State

The state to set.

Returns
TypeDescription
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.v1beta1.CertificateRevocationList.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
CertificateRevocationList.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateRevocationList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CertificateRevocationList.Builder