Class Certificate.RevocationDetails.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.RevocationDetails.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.RevocationDetails.Builder>
      • getDefaultInstanceForType

        public Certificate.RevocationDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Certificate.RevocationDetails build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Certificate.RevocationDetails buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.RevocationDetails.Builder>
      • mergeFrom

        public Certificate.RevocationDetails.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Certificate.RevocationDetails.Builder>
        Throws:
        IOException
      • getRevocationStateValue

        public int getRevocationStateValue()
         Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
        Specified by:
        getRevocationStateValue in interface Certificate.RevocationDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for revocationState.
      • setRevocationStateValue

        public Certificate.RevocationDetails.Builder setRevocationStateValue​(int value)
         Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
        Parameters:
        value - The enum numeric value on the wire for revocationState to set.
        Returns:
        This builder for chaining.
      • getRevocationState

        public RevocationReason getRevocationState()
         Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
        Specified by:
        getRevocationState in interface Certificate.RevocationDetailsOrBuilder
        Returns:
        The revocationState.
      • setRevocationState

        public Certificate.RevocationDetails.Builder setRevocationState​(RevocationReason value)
         Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
        Parameters:
        value - The revocationState to set.
        Returns:
        This builder for chaining.
      • clearRevocationState

        public Certificate.RevocationDetails.Builder clearRevocationState()
         Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.cloud.security.privateca.v1beta1.RevocationReason revocation_state = 1;
        Returns:
        This builder for chaining.
      • hasRevocationTime

        public boolean hasRevocationTime()
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
        Specified by:
        hasRevocationTime in interface Certificate.RevocationDetailsOrBuilder
        Returns:
        Whether the revocationTime field is set.
      • getRevocationTime

        public com.google.protobuf.Timestamp getRevocationTime()
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
        Specified by:
        getRevocationTime in interface Certificate.RevocationDetailsOrBuilder
        Returns:
        The revocationTime.
      • setRevocationTime

        public Certificate.RevocationDetails.Builder setRevocationTime​(com.google.protobuf.Timestamp value)
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
      • setRevocationTime

        public Certificate.RevocationDetails.Builder setRevocationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
      • mergeRevocationTime

        public Certificate.RevocationDetails.Builder mergeRevocationTime​(com.google.protobuf.Timestamp value)
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
      • clearRevocationTime

        public Certificate.RevocationDetails.Builder clearRevocationTime()
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
      • getRevocationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getRevocationTimeBuilder()
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
      • getRevocationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRevocationTimeOrBuilder()
         The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.
         
        .google.protobuf.Timestamp revocation_time = 2;
        Specified by:
        getRevocationTimeOrBuilder in interface Certificate.RevocationDetailsOrBuilder