Class Certificate.RevocationDetails (2.43.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.v1beta1.Certificate.RevocationDetails

Static Fields

REVOCATION_STATE_FIELD_NUMBER

public static final int REVOCATION_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

REVOCATION_TIME_FIELD_NUMBER

public static final int REVOCATION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Certificate.RevocationDetails getDefaultInstance()
Returns
TypeDescription
Certificate.RevocationDetails

getDescriptor()

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

newBuilder()

public static Certificate.RevocationDetails.Builder newBuilder()
Returns
TypeDescription
Certificate.RevocationDetails.Builder

newBuilder(Certificate.RevocationDetails prototype)

public static Certificate.RevocationDetails.Builder newBuilder(Certificate.RevocationDetails prototype)
Parameter
NameDescription
prototypeCertificate.RevocationDetails
Returns
TypeDescription
Certificate.RevocationDetails.Builder

parseDelimitedFrom(InputStream input)

public static Certificate.RevocationDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certificate.RevocationDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Certificate.RevocationDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Certificate.RevocationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Certificate.RevocationDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Certificate.RevocationDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Certificate.RevocationDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certificate.RevocationDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Certificate.RevocationDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Certificate.RevocationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Certificate.RevocationDetails getDefaultInstanceForType()
Returns
TypeDescription
Certificate.RevocationDetails

getParserForType()

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

getRevocationState()

public RevocationReason getRevocationState()

Indicates why a Certificate was revoked.

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

Returns
TypeDescription
RevocationReason

The revocationState.

getRevocationStateValue()

public int getRevocationStateValue()

Indicates why a Certificate was revoked.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The revocationTime.

getRevocationTimeOrBuilder()

public TimestampOrBuilder getRevocationTimeOrBuilder()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRevocationTime()

public boolean hasRevocationTime()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
TypeDescription
boolean

Whether the revocationTime field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Certificate.RevocationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Certificate.RevocationDetails.Builder toBuilder()
Returns
TypeDescription
Certificate.RevocationDetails.Builder

writeTo(CodedOutputStream output)

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