Class Certificate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
com.google.cloud.certificatemanager.v1.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.GeneratedMessage.Builder<Certificate.Builder> implements CertificateOrBuilder
 Defines TLS certificate.
 
Protobuf type google.cloud.certificatemanager.v1.Certificate
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Certificate.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Certificate.Builder mergeFrom(Certificate other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getTypeCase

      public Certificate.TypeCase getTypeCase()
      Specified by:
      getTypeCase in interface CertificateOrBuilder
    • clearType

      public Certificate.Builder clearType()
    • 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
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: CertificateOrBuilder
       Set of labels associated with a Certificate.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount 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
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface CertificateOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Set of labels associated with a Certificate.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface CertificateOrBuilder
    • getLabelsOrDefault

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

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

      public Certificate.Builder clearLabels()
    • 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;
    • putAllLabels

      public Certificate.Builder putAllLabels(Map<String,String> values)
       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.
    • getSelfManaged

      public Certificate.SelfManagedCertificate getSelfManaged()
       If set, defines data of a self-managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
      Specified by:
      getSelfManaged in interface CertificateOrBuilder
      Returns:
      The selfManaged.
    • setSelfManaged

       If set, defines data of a self-managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
    • setSelfManaged

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

       If set, defines data of a self-managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
    • 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;
    • getSelfManagedOrBuilder

      public Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder()
       If set, defines data of a self-managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
      Specified by:
      getSelfManagedOrBuilder in interface CertificateOrBuilder
    • 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.
    • getManaged

      public Certificate.ManagedCertificate getManaged()
       If set, contains configuration and state of a managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
      Specified by:
      getManaged in interface CertificateOrBuilder
      Returns:
      The managed.
    • setManaged

       If set, contains configuration and state of a managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
    • setManaged

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

       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;
    • getManagedOrBuilder

      public Certificate.ManagedCertificateOrBuilder getManagedOrBuilder()
       If set, contains configuration and state of a managed certificate.
       
      .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;
      Specified by:
      getManagedOrBuilder in interface CertificateOrBuilder
    • 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.