Class CertificateRevocationList.RevokedCertificate (2.46.0)

public static final class CertificateRevocationList.RevokedCertificate extends GeneratedMessageV3 implements CertificateRevocationList.RevokedCertificateOrBuilder

Describes a revoked Certificate.

Protobuf type google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CertificateRevocationList.RevokedCertificate

Static Fields

CERTIFICATE_FIELD_NUMBER

public static final int CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

HEX_SERIAL_NUMBER_FIELD_NUMBER

public static final int HEX_SERIAL_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

REVOCATION_REASON_FIELD_NUMBER

public static final int REVOCATION_REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateRevocationList.RevokedCertificate getDefaultInstance()
Returns
Type Description
CertificateRevocationList.RevokedCertificate

getDescriptor()

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

newBuilder()

public static CertificateRevocationList.RevokedCertificate.Builder newBuilder()
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

newBuilder(CertificateRevocationList.RevokedCertificate prototype)

public static CertificateRevocationList.RevokedCertificate.Builder newBuilder(CertificateRevocationList.RevokedCertificate prototype)
Parameter
Name Description
prototype CertificateRevocationList.RevokedCertificate
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

parseDelimitedFrom(InputStream input)

public static CertificateRevocationList.RevokedCertificate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CertificateRevocationList.RevokedCertificate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateRevocationList.RevokedCertificate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CertificateRevocationList.RevokedCertificate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRevocationList.RevokedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CertificateRevocationList.RevokedCertificate> parser()
Returns
Type Description
Parser<RevokedCertificate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
CertificateRevocationList.RevokedCertificate

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
Type Description
Parser<RevokedCertificate>
Overrides

getRevocationReason()

public RevocationReason getRevocationReason()

The reason the Certificate was revoked.

.google.cloud.security.privateca.v1beta1.RevocationReason revocation_reason = 3;

Returns
Type Description
RevocationReason

The revocationReason.

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
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CertificateRevocationList.RevokedCertificate.Builder newBuilderForType()
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateRevocationList.RevokedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CertificateRevocationList.RevokedCertificate.Builder toBuilder()
Returns
Type Description
CertificateRevocationList.RevokedCertificate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException