Class Certificate.RevocationDetails.Builder (2.48.0)

public static final class Certificate.RevocationDetails.Builder extends GeneratedMessageV3.Builder<Certificate.RevocationDetails.Builder> implements Certificate.RevocationDetailsOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certificate.RevocationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Certificate.RevocationDetails.Builder clear()
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Certificate.RevocationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Certificate.RevocationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

clearRevocationState()

public Certificate.RevocationDetails.Builder clearRevocationState()

Indicates why a Certificate was revoked.

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

Returns
Type Description
Certificate.RevocationDetails.Builder

This builder for chaining.

clearRevocationTime()

public Certificate.RevocationDetails.Builder clearRevocationTime()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
Type Description
Certificate.RevocationDetails.Builder

clone()

public Certificate.RevocationDetails.Builder clone()
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getRevocationTimeBuilder()

public Timestamp.Builder getRevocationTimeBuilder()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
Type Description
Builder

getRevocationTimeOrBuilder()

public TimestampOrBuilder getRevocationTimeOrBuilder()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
Type Description
TimestampOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Certificate.RevocationDetails other)

public Certificate.RevocationDetails.Builder mergeFrom(Certificate.RevocationDetails other)
Parameter
Name Description
other Certificate.RevocationDetails
Returns
Type Description
Certificate.RevocationDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certificate.RevocationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Certificate.RevocationDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

mergeRevocationTime(Timestamp value)

public Certificate.RevocationDetails.Builder mergeRevocationTime(Timestamp value)

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Certificate.RevocationDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.RevocationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Certificate.RevocationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Certificate.RevocationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides

setRevocationState(RevocationReason value)

public Certificate.RevocationDetails.Builder setRevocationState(RevocationReason value)

Indicates why a Certificate was revoked.

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

Parameter
Name Description
value RevocationReason

The revocationState to set.

Returns
Type Description
Certificate.RevocationDetails.Builder

This builder for chaining.

setRevocationStateValue(int value)

public Certificate.RevocationDetails.Builder setRevocationStateValue(int value)

Indicates why a Certificate was revoked.

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

Parameter
Name Description
value int

The enum numeric value on the wire for revocationState to set.

Returns
Type Description
Certificate.RevocationDetails.Builder

This builder for chaining.

setRevocationTime(Timestamp value)

public Certificate.RevocationDetails.Builder setRevocationTime(Timestamp value)

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Certificate.RevocationDetails.Builder

setRevocationTime(Timestamp.Builder builderForValue)

public Certificate.RevocationDetails.Builder setRevocationTime(Timestamp.Builder builderForValue)

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Certificate.RevocationDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.RevocationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Certificate.RevocationDetails.Builder
Overrides