public static final class CertificateRevocationList.RevokedCertificate extends GeneratedMessageV3 implements CertificateRevocationList.RevokedCertificateOrBuilder
Describes a revoked Certificate.
Protobuf type
google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate
Static Fields
CERTIFICATE_FIELD_NUMBER
public static final int CERTIFICATE_FIELD_NUMBER
Field Value
HEX_SERIAL_NUMBER_FIELD_NUMBER
public static final int HEX_SERIAL_NUMBER_FIELD_NUMBER
Field Value
REVOCATION_REASON_FIELD_NUMBER
public static final int REVOCATION_REASON_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateRevocationList.RevokedCertificate getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateRevocationList.RevokedCertificate.Builder newBuilder()
Returns
newBuilder(CertificateRevocationList.RevokedCertificate prototype)
public static CertificateRevocationList.RevokedCertificate.Builder newBuilder(CertificateRevocationList.RevokedCertificate prototype)
Parameter
Returns
public static CertificateRevocationList.RevokedCertificate parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateRevocationList.RevokedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateRevocationList.RevokedCertificate parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateRevocationList.RevokedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateRevocationList.RevokedCertificate parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateRevocationList.RevokedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateRevocationList.RevokedCertificate parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateRevocationList.RevokedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateRevocationList.RevokedCertificate parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateRevocationList.RevokedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateRevocationList.RevokedCertificate parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateRevocationList.RevokedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateRevocationList.RevokedCertificate> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCertificate()
public String getCertificate()
The resource path for the Certificate in the format
projects/*/locations/*/certificateAuthorities/*/certificates/*
.
string certificate = 1;
Returns
Type | Description |
String | The certificate.
|
getCertificateBytes()
public ByteString getCertificateBytes()
The resource path for the Certificate in the format
projects/*/locations/*/certificateAuthorities/*/certificates/*
.
string certificate = 1;
Returns
Type | Description |
ByteString | The bytes for certificate.
|
getDefaultInstanceForType()
public CertificateRevocationList.RevokedCertificate getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<CertificateRevocationList.RevokedCertificate> getParserForType()
Returns
Overrides
getRevocationReason()
public RevocationReason getRevocationReason()
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1beta1.RevocationReason revocation_reason = 3;
Returns
getRevocationReasonValue()
public int getRevocationReasonValue()
The reason the Certificate was revoked.
.google.cloud.security.privateca.v1beta1.RevocationReason revocation_reason = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for revocationReason.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateRevocationList.RevokedCertificate.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateRevocationList.RevokedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateRevocationList.RevokedCertificate.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions