Class CertificateRevocationList.RevokedCertificate (2.13.0)

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

Describes a revoked Certificate.

Protobuf type google.cloud.security.privateca.v1.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
TypeDescription
int

HEX_SERIAL_NUMBER_FIELD_NUMBER

public static final int HEX_SERIAL_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

REVOCATION_REASON_FIELD_NUMBER

public static final int REVOCATION_REASON_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CertificateRevocationList.RevokedCertificate getDefaultInstance()
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CertificateRevocationList.RevokedCertificate.Builder newBuilder()
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate.Builder

newBuilder(CertificateRevocationList.RevokedCertificate prototype)

public static CertificateRevocationList.RevokedCertificate.Builder newBuilder(CertificateRevocationList.RevokedCertificate prototype)
Parameter
NameDescription
prototypeCertificateRevocationList.RevokedCertificate
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate.Builder

parseDelimitedFrom(InputStream input)

public static CertificateRevocationList.RevokedCertificate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CertificateRevocationList.RevokedCertificate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateRevocationList.RevokedCertificate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CertificateRevocationList.RevokedCertificate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateRevocationList.RevokedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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

The bytes for certificate.

getDefaultInstanceForType()

public CertificateRevocationList.RevokedCertificate getDefaultInstanceForType()
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate

getHexSerialNumber()

public String getHexSerialNumber()

The serial number of the Certificate.

string hex_serial_number = 2;

Returns
TypeDescription
String

The hexSerialNumber.

getHexSerialNumberBytes()

public ByteString getHexSerialNumberBytes()

The serial number of the Certificate.

string hex_serial_number = 2;

Returns
TypeDescription
ByteString

The bytes for hexSerialNumber.

getParserForType()

public Parser<CertificateRevocationList.RevokedCertificate> getParserForType()
Returns
TypeDescription
Parser<RevokedCertificate>
Overrides

getRevocationReason()

public RevocationReason getRevocationReason()

The reason the Certificate was revoked.

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

Returns
TypeDescription
RevocationReason

The revocationReason.

getRevocationReasonValue()

public int getRevocationReasonValue()

The reason the Certificate was revoked.

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

Returns
TypeDescription
int

The enum numeric value on the wire for revocationReason.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CertificateRevocationList.RevokedCertificate.Builder newBuilderForType()
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateRevocationList.RevokedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CertificateRevocationList.RevokedCertificate.Builder toBuilder()
Returns
TypeDescription
CertificateRevocationList.RevokedCertificate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException