- 2.56.0 (latest)
- 2.55.0
- 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.RevokedCertificate.Builder extends GeneratedMessageV3.Builder<CertificateRevocationList.RevokedCertificate.Builder> implements CertificateRevocationList.RevokedCertificateOrBuilder
Describes a revoked Certificate.
Protobuf type
google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateRevocationList.RevokedCertificate.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateRevocationList.RevokedCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
build()
public CertificateRevocationList.RevokedCertificate build()
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate |
buildPartial()
public CertificateRevocationList.RevokedCertificate buildPartial()
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate |
clear()
public CertificateRevocationList.RevokedCertificate.Builder clear()
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
clearCertificate()
public CertificateRevocationList.RevokedCertificate.Builder clearCertificate()
The resource name for the
Certificate in the
format projects/*/locations/*/caPools/*/certificates/*
.
string certificate = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CertificateRevocationList.RevokedCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
clearHexSerialNumber()
public CertificateRevocationList.RevokedCertificate.Builder clearHexSerialNumber()
The serial number of the Certificate.
string hex_serial_number = 2;
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateRevocationList.RevokedCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
clearRevocationReason()
public CertificateRevocationList.RevokedCertificate.Builder clearRevocationReason()
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_reason = 3;
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
clone()
public CertificateRevocationList.RevokedCertificate.Builder clone()
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
getCertificate()
public String getCertificate()
The resource name for the
Certificate in the
format projects/*/locations/*/caPools/*/certificates/*
.
string certificate = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The certificate. |
getCertificateBytes()
public ByteString getCertificateBytes()
The resource name for the
Certificate in the
format projects/*/locations/*/caPools/*/certificates/*
.
string certificate = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for certificate. |
getDefaultInstanceForType()
public CertificateRevocationList.RevokedCertificate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHexSerialNumber()
public String getHexSerialNumber()
The serial number of the Certificate.
string hex_serial_number = 2;
Returns | |
---|---|
Type | Description |
String |
The hexSerialNumber. |
getHexSerialNumberBytes()
public ByteString getHexSerialNumberBytes()
The serial number of the Certificate.
string hex_serial_number = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hexSerialNumber. |
getRevocationReason()
public RevocationReason getRevocationReason()
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_reason = 3;
Returns | |
---|---|
Type | Description |
RevocationReason |
The revocationReason. |
getRevocationReasonValue()
public int getRevocationReasonValue()
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_reason = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for revocationReason. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CertificateRevocationList.RevokedCertificate other)
public CertificateRevocationList.RevokedCertificate.Builder mergeFrom(CertificateRevocationList.RevokedCertificate other)
Parameter | |
---|---|
Name | Description |
other |
CertificateRevocationList.RevokedCertificate |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateRevocationList.RevokedCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateRevocationList.RevokedCertificate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRevocationList.RevokedCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
setCertificate(String value)
public CertificateRevocationList.RevokedCertificate.Builder setCertificate(String value)
The resource name for the
Certificate in the
format projects/*/locations/*/caPools/*/certificates/*
.
string certificate = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The certificate to set. |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
setCertificateBytes(ByteString value)
public CertificateRevocationList.RevokedCertificate.Builder setCertificateBytes(ByteString value)
The resource name for the
Certificate in the
format projects/*/locations/*/caPools/*/certificates/*
.
string certificate = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for certificate to set. |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateRevocationList.RevokedCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
setHexSerialNumber(String value)
public CertificateRevocationList.RevokedCertificate.Builder setHexSerialNumber(String value)
The serial number of the Certificate.
string hex_serial_number = 2;
Parameter | |
---|---|
Name | Description |
value |
String The hexSerialNumber to set. |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
setHexSerialNumberBytes(ByteString value)
public CertificateRevocationList.RevokedCertificate.Builder setHexSerialNumberBytes(ByteString value)
The serial number of the Certificate.
string hex_serial_number = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hexSerialNumber to set. |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateRevocationList.RevokedCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
setRevocationReason(RevocationReason value)
public CertificateRevocationList.RevokedCertificate.Builder setRevocationReason(RevocationReason value)
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_reason = 3;
Parameter | |
---|---|
Name | Description |
value |
RevocationReason The revocationReason to set. |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
setRevocationReasonValue(int value)
public CertificateRevocationList.RevokedCertificate.Builder setRevocationReasonValue(int value)
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_reason = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for revocationReason to set. |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRevocationList.RevokedCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateRevocationList.RevokedCertificate.Builder |