Class Certificate.Builder

  • All Implemented Interfaces:
    CertificateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Certificate

    public static final class Certificate.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
    implements CertificateOrBuilder
     A [Certificate][google.cloud.security.privateca.v1beta1.Certificate] corresponds to a signed X.509 certificate issued by a
     [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
     
    Protobuf type google.cloud.security.privateca.v1beta1.Certificate
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • internalGetFieldAccessorTable

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

        public Certificate.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.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.Builder>
      • getDefaultInstanceForType

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

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

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

        public Certificate.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • setField

        public Certificate.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • clearField

        public Certificate.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • clearOneof

        public Certificate.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • setRepeatedField

        public Certificate.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • addRepeatedField

        public Certificate.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • mergeFrom

        public Certificate.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Certificate.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.Builder>
      • mergeFrom

        public Certificate.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.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format
         `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface CertificateOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format
         `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface CertificateOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Certificate.Builder setName​(String value)
         Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format
         `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Certificate.Builder clearName()
         Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format
         `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Certificate.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format
         `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasPemCsr

        public boolean hasPemCsr()
         Immutable. A pem-encoded X.509 certificate signing request (CSR).
         
        string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasPemCsr in interface CertificateOrBuilder
        Returns:
        Whether the pemCsr field is set.
      • getPemCsr

        public String getPemCsr()
         Immutable. A pem-encoded X.509 certificate signing request (CSR).
         
        string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getPemCsr in interface CertificateOrBuilder
        Returns:
        The pemCsr.
      • getPemCsrBytes

        public com.google.protobuf.ByteString getPemCsrBytes()
         Immutable. A pem-encoded X.509 certificate signing request (CSR).
         
        string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getPemCsrBytes in interface CertificateOrBuilder
        Returns:
        The bytes for pemCsr.
      • setPemCsr

        public Certificate.Builder setPemCsr​(String value)
         Immutable. A pem-encoded X.509 certificate signing request (CSR).
         
        string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The pemCsr to set.
        Returns:
        This builder for chaining.
      • clearPemCsr

        public Certificate.Builder clearPemCsr()
         Immutable. A pem-encoded X.509 certificate signing request (CSR).
         
        string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setPemCsrBytes

        public Certificate.Builder setPemCsrBytes​(com.google.protobuf.ByteString value)
         Immutable. A pem-encoded X.509 certificate signing request (CSR).
         
        string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for pemCsr to set.
        Returns:
        This builder for chaining.
      • hasConfig

        public boolean hasConfig()
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasConfig in interface CertificateOrBuilder
        Returns:
        Whether the config field is set.
      • getConfig

        public CertificateConfig getConfig()
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConfig in interface CertificateOrBuilder
        Returns:
        The config.
      • setConfig

        public Certificate.Builder setConfig​(CertificateConfig value)
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • setConfig

        public Certificate.Builder setConfig​(CertificateConfig.Builder builderForValue)
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeConfig

        public Certificate.Builder mergeConfig​(CertificateConfig value)
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • clearConfig

        public Certificate.Builder clearConfig()
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • getConfigBuilder

        public CertificateConfig.Builder getConfigBuilder()
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • getConfigOrBuilder

        public CertificateConfigOrBuilder getConfigOrBuilder()
         Immutable. A description of the certificate and key that does not require X.509 or
         ASN.1.
         
        .google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConfigOrBuilder in interface CertificateOrBuilder
      • hasLifetime

        public boolean hasLifetime()
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasLifetime in interface CertificateOrBuilder
        Returns:
        Whether the lifetime field is set.
      • getLifetime

        public com.google.protobuf.Duration getLifetime()
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLifetime in interface CertificateOrBuilder
        Returns:
        The lifetime.
      • setLifetime

        public Certificate.Builder setLifetime​(com.google.protobuf.Duration value)
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      • setLifetime

        public Certificate.Builder setLifetime​(com.google.protobuf.Duration.Builder builderForValue)
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      • mergeLifetime

        public Certificate.Builder mergeLifetime​(com.google.protobuf.Duration value)
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      • clearLifetime

        public Certificate.Builder clearLifetime()
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      • getLifetimeBuilder

        public com.google.protobuf.Duration.Builder getLifetimeBuilder()
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      • getLifetimeOrBuilder

        public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder()
         Required. Immutable. The desired lifetime of a certificate. Used to create the
         "not_before_time" and "not_after_time" fields inside an X.509
         certificate. Note that the lifetime may be truncated if it would extend
         past the life of any certificate authority in the issuing chain.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLifetimeOrBuilder in interface CertificateOrBuilder
      • hasRevocationDetails

        public boolean hasRevocationDetails()
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasRevocationDetails in interface CertificateOrBuilder
        Returns:
        Whether the revocationDetails field is set.
      • getRevocationDetails

        public Certificate.RevocationDetails getRevocationDetails()
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRevocationDetails in interface CertificateOrBuilder
        Returns:
        The revocationDetails.
      • setRevocationDetails

        public Certificate.Builder setRevocationDetails​(Certificate.RevocationDetails value)
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setRevocationDetails

        public Certificate.Builder setRevocationDetails​(Certificate.RevocationDetails.Builder builderForValue)
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeRevocationDetails

        public Certificate.Builder mergeRevocationDetails​(Certificate.RevocationDetails value)
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearRevocationDetails

        public Certificate.Builder clearRevocationDetails()
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getRevocationDetailsBuilder

        public Certificate.RevocationDetails.Builder getRevocationDetailsBuilder()
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getRevocationDetailsOrBuilder

        public Certificate.RevocationDetailsOrBuilder getRevocationDetailsOrBuilder()
         Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This
         [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
         
        .google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRevocationDetailsOrBuilder in interface CertificateOrBuilder
      • getPemCertificate

        public String getPemCertificate()
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificate in interface CertificateOrBuilder
        Returns:
        The pemCertificate.
      • getPemCertificateBytes

        public com.google.protobuf.ByteString getPemCertificateBytes()
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateBytes in interface CertificateOrBuilder
        Returns:
        The bytes for pemCertificate.
      • setPemCertificate

        public Certificate.Builder setPemCertificate​(String value)
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The pemCertificate to set.
        Returns:
        This builder for chaining.
      • clearPemCertificate

        public Certificate.Builder clearPemCertificate()
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPemCertificateBytes

        public Certificate.Builder setPemCertificateBytes​(com.google.protobuf.ByteString value)
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for pemCertificate to set.
        Returns:
        This builder for chaining.
      • hasCertificateDescription

        public boolean hasCertificateDescription()
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCertificateDescription in interface CertificateOrBuilder
        Returns:
        Whether the certificateDescription field is set.
      • getCertificateDescription

        public CertificateDescription getCertificateDescription()
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCertificateDescription in interface CertificateOrBuilder
        Returns:
        The certificateDescription.
      • setCertificateDescription

        public Certificate.Builder setCertificateDescription​(CertificateDescription value)
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCertificateDescription

        public Certificate.Builder setCertificateDescription​(CertificateDescription.Builder builderForValue)
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCertificateDescription

        public Certificate.Builder mergeCertificateDescription​(CertificateDescription value)
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCertificateDescription

        public Certificate.Builder clearCertificateDescription()
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCertificateDescriptionBuilder

        public CertificateDescription.Builder getCertificateDescriptionBuilder()
         Output only. A structured description of the issued X.509 certificate.
         
        .google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPemCertificateChainList

        public com.google.protobuf.ProtocolStringList getPemCertificateChainList()
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChainList in interface CertificateOrBuilder
        Returns:
        A list containing the pemCertificateChain.
      • getPemCertificateChainCount

        public int getPemCertificateChainCount()
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChainCount in interface CertificateOrBuilder
        Returns:
        The count of pemCertificateChain.
      • getPemCertificateChain

        public String getPemCertificateChain​(int index)
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChain in interface CertificateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pemCertificateChain at the given index.
      • getPemCertificateChainBytes

        public com.google.protobuf.ByteString getPemCertificateChainBytes​(int index)
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChainBytes in interface CertificateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pemCertificateChain at the given index.
      • setPemCertificateChain

        public Certificate.Builder setPemCertificateChain​(int index,
                                                          String value)
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The pemCertificateChain to set.
        Returns:
        This builder for chaining.
      • addPemCertificateChain

        public Certificate.Builder addPemCertificateChain​(String value)
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The pemCertificateChain to add.
        Returns:
        This builder for chaining.
      • addAllPemCertificateChain

        public Certificate.Builder addAllPemCertificateChain​(Iterable<String> values)
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The pemCertificateChain to add.
        Returns:
        This builder for chaining.
      • clearPemCertificateChain

        public Certificate.Builder clearPemCertificateChain()
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addPemCertificateChainBytes

        public Certificate.Builder addPemCertificateChainBytes​(com.google.protobuf.ByteString value)
         Output only. The chain that may be used to verify the X.509 certificate. Expected to be
         in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the pemCertificateChain to add.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface CertificateOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface CertificateOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Certificate.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Certificate.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Certificate.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Certificate.Builder clearCreateTime()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface CertificateOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface CertificateOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface CertificateOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Certificate.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Certificate.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Certificate.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Certificate.Builder clearUpdateTime()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface CertificateOrBuilder
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: CertificateOrBuilder
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface CertificateOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface CertificateOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface CertificateOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrDefault in interface CertificateOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface CertificateOrBuilder
      • removeLabels

        public Certificate.Builder removeLabels​(String key)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Certificate.Builder putLabels​(String key,
                                             String value)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public Certificate.Builder putAllLabels​(Map<String,​String> values)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      • setUnknownFields

        public final Certificate.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
      • mergeUnknownFields

        public final Certificate.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>