Class Certificate.RevocationDetails (2.56.0)

public static final class Certificate.RevocationDetails extends GeneratedMessageV3 implements Certificate.RevocationDetailsOrBuilder

Describes fields that are relavent to the revocation of a Certificate.

Protobuf type google.cloud.security.privateca.v1.Certificate.RevocationDetails

Static Fields

REVOCATION_STATE_FIELD_NUMBER

public static final int REVOCATION_STATE_FIELD_NUMBER
Field Value
Type Description
int

REVOCATION_TIME_FIELD_NUMBER

public static final int REVOCATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Certificate.RevocationDetails getDefaultInstance()
Returns
Type Description
Certificate.RevocationDetails

getDescriptor()

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

newBuilder()

public static Certificate.RevocationDetails.Builder newBuilder()
Returns
Type Description
Certificate.RevocationDetails.Builder

newBuilder(Certificate.RevocationDetails prototype)

public static Certificate.RevocationDetails.Builder newBuilder(Certificate.RevocationDetails prototype)
Parameter
Name Description
prototype Certificate.RevocationDetails
Returns
Type Description
Certificate.RevocationDetails.Builder

parseDelimitedFrom(InputStream input)

public static Certificate.RevocationDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Certificate.RevocationDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Certificate.RevocationDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Certificate.RevocationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Certificate.RevocationDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Certificate.RevocationDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Certificate.RevocationDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Certificate.RevocationDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Certificate.RevocationDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Certificate.RevocationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Certificate.RevocationDetails> parser()
Returns
Type Description
Parser<RevocationDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Certificate.RevocationDetails getDefaultInstanceForType()
Returns
Type Description
Certificate.RevocationDetails

getParserForType()

public Parser<Certificate.RevocationDetails> getParserForType()
Returns
Type Description
Parser<RevocationDetails>
Overrides

getRevocationState()

public RevocationReason getRevocationState()

Indicates why a Certificate was revoked.

.google.cloud.security.privateca.v1.RevocationReason revocation_state = 1;

Returns
Type Description
RevocationReason

The revocationState.

getRevocationStateValue()

public int getRevocationStateValue()

Indicates why a Certificate was revoked.

.google.cloud.security.privateca.v1.RevocationReason revocation_state = 1;

Returns
Type Description
int

The enum numeric value on the wire for revocationState.

getRevocationTime()

public Timestamp getRevocationTime()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
Type Description
Timestamp

The revocationTime.

getRevocationTimeOrBuilder()

public TimestampOrBuilder getRevocationTimeOrBuilder()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
Type Description
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasRevocationTime()

public boolean hasRevocationTime()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
Type Description
boolean

Whether the revocationTime field is set.

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 Certificate.RevocationDetails.Builder newBuilderForType()
Returns
Type Description
Certificate.RevocationDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Certificate.RevocationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Certificate.RevocationDetails.Builder toBuilder()
Returns
Type Description
Certificate.RevocationDetails.Builder

writeTo(CodedOutputStream output)

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