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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Certificate.RevocationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Certificate.RevocationDetails build()
buildPartial()
public Certificate.RevocationDetails buildPartial()
clear()
public Certificate.RevocationDetails.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Certificate.RevocationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Certificate.RevocationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRevocationState()
public Certificate.RevocationDetails.Builder clearRevocationState()
Indicates why a Certificate was revoked.
.google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
clearRevocationTime()
public Certificate.RevocationDetails.Builder clearRevocationTime()
The time at which this Certificate was revoked.
.google.protobuf.Timestamp revocation_time = 2;
clone()
public Certificate.RevocationDetails.Builder clone()
Overrides
getDefaultInstanceForType()
public Certificate.RevocationDetails getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRevocationState()
public RevocationReason getRevocationState()
Indicates why a Certificate was revoked.
.google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
getRevocationStateValue()
public int getRevocationStateValue()
Indicates why a Certificate was revoked.
.google.cloud.security.privateca.v1beta1.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;
getRevocationTimeOrBuilder()
public TimestampOrBuilder getRevocationTimeOrBuilder()
The time at which this Certificate was revoked.
.google.protobuf.Timestamp revocation_time = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Certificate.RevocationDetails other)
public Certificate.RevocationDetails.Builder mergeFrom(Certificate.RevocationDetails other)
public Certificate.RevocationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Certificate.RevocationDetails.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.RevocationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Certificate.RevocationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Certificate.RevocationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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 |
Name |
Description |
value |
int
The enum numeric value on the wire for revocationState to set.
|
setRevocationTime(Timestamp value)
public Certificate.RevocationDetails.Builder setRevocationTime(Timestamp value)
The time at which this Certificate was revoked.
.google.protobuf.Timestamp revocation_time = 2;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.RevocationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides