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
     Defines TLS certificate.
     
    Protobuf type google.cloud.certificatemanager.v1.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()
         A user-defined name of the certificate. Certificate names must be unique
         globally and match pattern `projects/*/locations/*/certificates/*`.
         
        string name = 1;
        Specified by:
        getName in interface CertificateOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         A user-defined name of the certificate. Certificate names must be unique
         globally and match pattern `projects/*/locations/*/certificates/*`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface CertificateOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Certificate.Builder setName​(String value)
         A user-defined name of the certificate. Certificate names must be unique
         globally and match pattern `projects/*/locations/*/certificates/*`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Certificate.Builder clearName()
         A user-defined name of the certificate. Certificate names must be unique
         globally and match pattern `projects/*/locations/*/certificates/*`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Certificate.Builder setNameBytes​(com.google.protobuf.ByteString value)
         A user-defined name of the certificate. Certificate names must be unique
         globally and match pattern `projects/*/locations/*/certificates/*`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         One or more paragraphs of text description of a certificate.
         
        string description = 8;
        Specified by:
        getDescription in interface CertificateOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         One or more paragraphs of text description of a certificate.
         
        string description = 8;
        Specified by:
        getDescriptionBytes in interface CertificateOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Certificate.Builder setDescription​(String value)
         One or more paragraphs of text description of a certificate.
         
        string description = 8;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Certificate.Builder clearDescription()
         One or more paragraphs of text description of a certificate.
         
        string description = 8;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Certificate.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         One or more paragraphs of text description of a certificate.
         
        string description = 8;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.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 creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.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 creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Certificate.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Certificate.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Certificate.Builder clearCreateTime()
         Output only. The creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The creation timestamp of a Certificate.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface CertificateOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.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 last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.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 last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Certificate.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Certificate.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Certificate.Builder clearUpdateTime()
         Output only. The last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The last update timestamp of a Certificate.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface CertificateOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Set of labels associated with a Certificate.
         
        map<string, string> labels = 4;
        Specified by:
        containsLabels in interface CertificateOrBuilder
      • removeLabels

        public Certificate.Builder removeLabels​(String key)
         Set of labels associated with a Certificate.
         
        map<string, string> labels = 4;
      • getMutableLabels

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

        public Certificate.Builder putLabels​(String key,
                                             String value)
         Set of labels associated with a Certificate.
         
        map<string, string> labels = 4;
      • hasSelfManaged

        public boolean hasSelfManaged()
         If set, defines data of a self-managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
        Specified by:
        hasSelfManaged in interface CertificateOrBuilder
        Returns:
        Whether the selfManaged field is set.
      • clearSelfManaged

        public Certificate.Builder clearSelfManaged()
         If set, defines data of a self-managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
      • getSelfManagedBuilder

        public Certificate.SelfManagedCertificate.Builder getSelfManagedBuilder()
         If set, defines data of a self-managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
      • hasManaged

        public boolean hasManaged()
         If set, contains configuration and state of a managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
        Specified by:
        hasManaged in interface CertificateOrBuilder
        Returns:
        Whether the managed field is set.
      • mergeManaged

        public Certificate.Builder mergeManaged​(Certificate.ManagedCertificate value)
         If set, contains configuration and state of a managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
      • clearManaged

        public Certificate.Builder clearManaged()
         If set, contains configuration and state of a managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
      • getManagedBuilder

        public Certificate.ManagedCertificate.Builder getManagedBuilder()
         If set, contains configuration and state of a managed certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
      • getSanDnsnamesList

        public com.google.protobuf.ProtocolStringList getSanDnsnamesList()
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSanDnsnamesList in interface CertificateOrBuilder
        Returns:
        A list containing the sanDnsnames.
      • getSanDnsnamesCount

        public int getSanDnsnamesCount()
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSanDnsnamesCount in interface CertificateOrBuilder
        Returns:
        The count of sanDnsnames.
      • getSanDnsnames

        public String getSanDnsnames​(int index)
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSanDnsnames in interface CertificateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sanDnsnames at the given index.
      • getSanDnsnamesBytes

        public com.google.protobuf.ByteString getSanDnsnamesBytes​(int index)
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSanDnsnamesBytes in interface CertificateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sanDnsnames at the given index.
      • setSanDnsnames

        public Certificate.Builder setSanDnsnames​(int index,
                                                  String value)
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The sanDnsnames to set.
        Returns:
        This builder for chaining.
      • addSanDnsnames

        public Certificate.Builder addSanDnsnames​(String value)
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sanDnsnames to add.
        Returns:
        This builder for chaining.
      • addAllSanDnsnames

        public Certificate.Builder addAllSanDnsnames​(Iterable<String> values)
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The sanDnsnames to add.
        Returns:
        This builder for chaining.
      • clearSanDnsnames

        public Certificate.Builder clearSanDnsnames()
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addSanDnsnamesBytes

        public Certificate.Builder addSanDnsnamesBytes​(com.google.protobuf.ByteString value)
         Output only. The list of Subject Alternative Names of dnsName type defined
         in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
         haven't been provisioned yet have this field populated with a value of the
         managed.domains field.
         
        repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the sanDnsnames to add.
        Returns:
        This builder for chaining.
      • getPemCertificate

        public String getPemCertificate()
         Output only. The PEM-encoded certificate chain.
         
        string pem_certificate = 9 [(.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 certificate chain.
         
        string pem_certificate = 9 [(.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 certificate chain.
         
        string pem_certificate = 9 [(.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 certificate chain.
         
        string pem_certificate = 9 [(.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 certificate chain.
         
        string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for pemCertificate to set.
        Returns:
        This builder for chaining.
      • hasExpireTime

        public boolean hasExpireTime()
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExpireTime in interface CertificateOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTime in interface CertificateOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public Certificate.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setExpireTime

        public Certificate.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeExpireTime

        public Certificate.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearExpireTime

        public Certificate.Builder clearExpireTime()
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. The expiry timestamp of a Certificate.
         
        .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTimeOrBuilder in interface CertificateOrBuilder
      • getScopeValue

        public int getScopeValue()
         Immutable. The scope of the certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getScopeValue in interface CertificateOrBuilder
        Returns:
        The enum numeric value on the wire for scope.
      • setScopeValue

        public Certificate.Builder setScopeValue​(int value)
         Immutable. The scope of the certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The enum numeric value on the wire for scope to set.
        Returns:
        This builder for chaining.
      • getScope

        public Certificate.Scope getScope()
         Immutable. The scope of the certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getScope in interface CertificateOrBuilder
        Returns:
        The scope.
      • setScope

        public Certificate.Builder setScope​(Certificate.Scope value)
         Immutable. The scope of the certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The scope to set.
        Returns:
        This builder for chaining.
      • clearScope

        public Certificate.Builder clearScope()
         Immutable. The scope of the certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • 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>