- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateRevocationList.BuilderImplements
CertificateRevocationListOrBuilderStatic 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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.security.privateca.v1beta1.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 |
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 | |
---|---|
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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 |
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 |
clearLabels()
public CertificateRevocationList.Builder clearLabels()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
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. |
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 | |
---|---|
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.v1beta1.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 |
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 | |
---|---|
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 |
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 = 9 [(.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 = 9 [(.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 = 9 [(.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 = 9 [(.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 path for this CertificateRevocationList in
the format
projects/*/locations/*/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 path for this CertificateRevocationList in
the format
projects/*/locations/*/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. |
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 | |
---|---|
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.CertificateRevocationList.RevokedCertificate revoked_certificates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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 |
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 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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateRevocationList.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRevocationList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.Builder |
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 = 9 [(.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 = 9 [(.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 = 9 [(.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.v1beta1.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 |
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 | |
---|---|
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 path for this CertificateRevocationList in
the format
projects/*/locations/*/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 |
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 | |
---|---|
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.v1beta1.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.v1beta1.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.v1beta1.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 |
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 |