Class SslCertificateManagedSslCertificate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SslCertificateManagedSslCertificate.Builder>
com.google.cloud.compute.v1.SslCertificateManagedSslCertificate.Builder
All Implemented Interfaces:
SslCertificateManagedSslCertificateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SslCertificateManagedSslCertificate

public static final class SslCertificateManagedSslCertificate.Builder extends com.google.protobuf.GeneratedMessage.Builder<SslCertificateManagedSslCertificate.Builder> implements SslCertificateManagedSslCertificateOrBuilder
 Configuration and status of a managed SSL certificate.
 
Protobuf type google.cloud.compute.v1.SslCertificateManagedSslCertificate
  • 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<SslCertificateManagedSslCertificate.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public SslCertificateManagedSslCertificate.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<SslCertificateManagedSslCertificate.Builder>
    • mergeFrom

    • isInitialized

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

      public SslCertificateManagedSslCertificate.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<SslCertificateManagedSslCertificate.Builder>
      Throws:
      IOException
    • getDomainStatusCount

      public int getDomainStatusCount()
      Description copied from interface: SslCertificateManagedSslCertificateOrBuilder
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
      Specified by:
      getDomainStatusCount in interface SslCertificateManagedSslCertificateOrBuilder
    • containsDomainStatus

      public boolean containsDomainStatus(String key)
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
      Specified by:
      containsDomainStatus in interface SslCertificateManagedSslCertificateOrBuilder
    • getDomainStatus

      @Deprecated public Map<String,String> getDomainStatus()
      Deprecated.
      Specified by:
      getDomainStatus in interface SslCertificateManagedSslCertificateOrBuilder
    • getDomainStatusMap

      public Map<String,String> getDomainStatusMap()
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
      Specified by:
      getDomainStatusMap in interface SslCertificateManagedSslCertificateOrBuilder
    • getDomainStatusOrDefault

      public String getDomainStatusOrDefault(String key, String defaultValue)
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
      Specified by:
      getDomainStatusOrDefault in interface SslCertificateManagedSslCertificateOrBuilder
    • getDomainStatusOrThrow

      public String getDomainStatusOrThrow(String key)
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
      Specified by:
      getDomainStatusOrThrow in interface SslCertificateManagedSslCertificateOrBuilder
    • clearDomainStatus

      public SslCertificateManagedSslCertificate.Builder clearDomainStatus()
    • removeDomainStatus

      public SslCertificateManagedSslCertificate.Builder removeDomainStatus(String key)
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
    • getMutableDomainStatus

      @Deprecated public Map<String,String> getMutableDomainStatus()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDomainStatus

      public SslCertificateManagedSslCertificate.Builder putDomainStatus(String key, String value)
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
    • putAllDomainStatus

      public SslCertificateManagedSslCertificate.Builder putAllDomainStatus(Map<String,String> values)
       Output only. [Output only] Detailed statuses of the domains specified for managed
       certificate resource.
       
      map<string, string> domain_status = 360305613;
    • getDomainsList

      public com.google.protobuf.ProtocolStringList getDomainsList()
       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Specified by:
      getDomainsList in interface SslCertificateManagedSslCertificateOrBuilder
      Returns:
      A list containing the domains.
    • getDomainsCount

      public int getDomainsCount()
       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Specified by:
      getDomainsCount in interface SslCertificateManagedSslCertificateOrBuilder
      Returns:
      The count of domains.
    • getDomains

      public String getDomains(int index)
       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Specified by:
      getDomains in interface SslCertificateManagedSslCertificateOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The domains at the given index.
    • getDomainsBytes

      public com.google.protobuf.ByteString getDomainsBytes(int index)
       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Specified by:
      getDomainsBytes in interface SslCertificateManagedSslCertificateOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the domains at the given index.
    • setDomains

      public SslCertificateManagedSslCertificate.Builder setDomains(int index, String value)
       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Parameters:
      index - The index to set the value at.
      value - The domains to set.
      Returns:
      This builder for chaining.
    • addDomains

       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Parameters:
      value - The domains to add.
      Returns:
      This builder for chaining.
    • addAllDomains

       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Parameters:
      values - The domains to add.
      Returns:
      This builder for chaining.
    • clearDomains

       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Returns:
      This builder for chaining.
    • addDomainsBytes

      public SslCertificateManagedSslCertificate.Builder addDomainsBytes(com.google.protobuf.ByteString value)
       The domains for which a managed SSL certificate will be generated. Each
       Google-managed SSL certificate supports up to the [maximum number of
       domains per Google-managed SSL
       certificate](/load-balancing/docs/quotas#ssl_certificates).
       
      repeated string domains = 226935855;
      Parameters:
      value - The bytes of the domains to add.
      Returns:
      This builder for chaining.
    • hasStatus

      public boolean hasStatus()
       Output only. [Output only] Status of the managed certificate resource.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface SslCertificateManagedSslCertificateOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
       Output only. [Output only] Status of the managed certificate resource.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatus in interface SslCertificateManagedSslCertificateOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Output only. [Output only] Status of the managed certificate resource.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatusBytes in interface SslCertificateManagedSslCertificateOrBuilder
      Returns:
      The bytes for status.
    • setStatus

       Output only. [Output only] Status of the managed certificate resource.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       Output only. [Output only] Status of the managed certificate resource.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public SslCertificateManagedSslCertificate.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Output only. [Output only] Status of the managed certificate resource.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.