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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certificate.RevocationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Certificate.RevocationDetails.Builder clear()
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Certificate.RevocationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Certificate.RevocationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

clearRevocationState()

public Certificate.RevocationDetails.Builder clearRevocationState()

Indicates why a Certificate was revoked.

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

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

clone()

public Certificate.RevocationDetails.Builder clone()
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRevocationTimeBuilder()

public Timestamp.Builder getRevocationTimeBuilder()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
TypeDescription
Builder

getRevocationTimeOrBuilder()

public TimestampOrBuilder getRevocationTimeOrBuilder()

The time at which this Certificate was revoked.

.google.protobuf.Timestamp revocation_time = 2;

Returns
TypeDescription
TimestampOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Certificate.RevocationDetails other)

public Certificate.RevocationDetails.Builder mergeFrom(Certificate.RevocationDetails other)
Parameter
NameDescription
otherCertificate.RevocationDetails
Returns
TypeDescription
Certificate.RevocationDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certificate.RevocationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Certificate.RevocationDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Certificate.RevocationDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.RevocationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Certificate.RevocationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides

setRevocationState(RevocationReason value)

public Certificate.RevocationDetails.Builder setRevocationState(RevocationReason value)

Indicates why a Certificate was revoked.

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

Parameter
NameDescription
valueRevocationReason

The revocationState to set.

Returns
TypeDescription
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.v1beta1.RevocationReason revocation_state = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Certificate.RevocationDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.RevocationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certificate.RevocationDetails.Builder
Overrides