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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Certificate.RevocationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Certificate.RevocationDetails build()
Returns
buildPartial()
public Certificate.RevocationDetails buildPartial()
Returns
clear()
public Certificate.RevocationDetails.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Certificate.RevocationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Certificate.RevocationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRevocationState()
public Certificate.RevocationDetails.Builder clearRevocationState()
Indicates why a Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_state = 1;
Returns
clearRevocationTime()
public Certificate.RevocationDetails.Builder clearRevocationTime()
The time at which this Certificate was revoked.
.google.protobuf.Timestamp revocation_time = 2;
Returns
clone()
public Certificate.RevocationDetails.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Certificate.RevocationDetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRevocationState()
public RevocationReason getRevocationState()
Indicates why a Certificate was revoked.
.google.cloud.security.privateca.v1.RevocationReason revocation_state = 1;
Returns
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
getRevocationTimeBuilder()
public Timestamp.Builder getRevocationTimeBuilder()
The time at which this Certificate was revoked.
.google.protobuf.Timestamp revocation_time = 2;
Returns
getRevocationTimeOrBuilder()
public TimestampOrBuilder getRevocationTimeOrBuilder()
The time at which this Certificate was revoked.
.google.protobuf.Timestamp revocation_time = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Certificate.RevocationDetails other)
public Certificate.RevocationDetails.Builder mergeFrom(Certificate.RevocationDetails other)
Parameter
Returns
public Certificate.RevocationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Certificate.RevocationDetails.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.RevocationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Certificate.RevocationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Certificate.RevocationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.RevocationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides