Class SslCertificate.Builder

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

public static final class SslCertificate.Builder extends com.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder> implements SslCertificateOrBuilder
 Represents an SSL certificate resource.

 Google Compute Engine has two SSL certificate resources:

 * [Global](/compute/docs/reference/rest/v1/sslCertificates)
 * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates)


 The global SSL certificates (sslCertificates) are used by:

 - Global external Application Load Balancers
 - Classic Application Load Balancers
 - Proxy Network Load Balancers (with target SSL proxies)



 The regional SSL certificates (regionSslCertificates) are used
 by:

 - Regional external Application Load Balancers
 - Regional internal Application Load Balancers



 Optionally, certificate file contents that you upload can contain a set of up
 to five PEM-encoded certificates.
 The API call creates an object (sslCertificate) that holds this data.
 You can use SSL keys and certificates to secure connections to a load
 balancer.
 For more information, read
 Creating and using SSL certificates,SSL certificates
 quotas and limits, and
 Troubleshooting SSL certificates.
 
Protobuf type google.cloud.compute.v1.SslCertificate
  • Method Details

    • getDescriptor

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

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

      public SslCertificate.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<SslCertificate.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<SslCertificate.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SslCertificate.Builder mergeFrom(SslCertificate other)
    • isInitialized

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

      public SslCertificate.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<SslCertificate.Builder>
      Throws:
      IOException
    • hasCertificate

      public boolean hasCertificate()
       A value read into memory from a certificate file. The certificate file must
       be in PEM format. The certificate chain must be no greater than 5 certs
       long. The chain must include at least one intermediate cert.
       
      optional string certificate = 341787031;
      Specified by:
      hasCertificate in interface SslCertificateOrBuilder
      Returns:
      Whether the certificate field is set.
    • getCertificate

      public String getCertificate()
       A value read into memory from a certificate file. The certificate file must
       be in PEM format. The certificate chain must be no greater than 5 certs
       long. The chain must include at least one intermediate cert.
       
      optional string certificate = 341787031;
      Specified by:
      getCertificate in interface SslCertificateOrBuilder
      Returns:
      The certificate.
    • getCertificateBytes

      public com.google.protobuf.ByteString getCertificateBytes()
       A value read into memory from a certificate file. The certificate file must
       be in PEM format. The certificate chain must be no greater than 5 certs
       long. The chain must include at least one intermediate cert.
       
      optional string certificate = 341787031;
      Specified by:
      getCertificateBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for certificate.
    • setCertificate

      public SslCertificate.Builder setCertificate(String value)
       A value read into memory from a certificate file. The certificate file must
       be in PEM format. The certificate chain must be no greater than 5 certs
       long. The chain must include at least one intermediate cert.
       
      optional string certificate = 341787031;
      Parameters:
      value - The certificate to set.
      Returns:
      This builder for chaining.
    • clearCertificate

      public SslCertificate.Builder clearCertificate()
       A value read into memory from a certificate file. The certificate file must
       be in PEM format. The certificate chain must be no greater than 5 certs
       long. The chain must include at least one intermediate cert.
       
      optional string certificate = 341787031;
      Returns:
      This builder for chaining.
    • setCertificateBytes

      public SslCertificate.Builder setCertificateBytes(com.google.protobuf.ByteString value)
       A value read into memory from a certificate file. The certificate file must
       be in PEM format. The certificate chain must be no greater than 5 certs
       long. The chain must include at least one intermediate cert.
       
      optional string certificate = 341787031;
      Parameters:
      value - The bytes for certificate to set.
      Returns:
      This builder for chaining.
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface SslCertificateOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface SslCertificateOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public SslCertificate.Builder setCreationTimestamp(String value)
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The creationTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreationTimestamp

      public SslCertificate.Builder clearCreationTimestamp()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public SslCertificate.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The bytes for creationTimestamp to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface SslCertificateOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface SslCertificateOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public SslCertificate.Builder setDescription(String value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public SslCertificate.Builder clearDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public SslCertificate.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasExpireTime

      public boolean hasExpireTime()
       Output only. [Output Only] Expire time of the certificate. RFC3339
       
      optional string expire_time = 440691181;
      Specified by:
      hasExpireTime in interface SslCertificateOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public String getExpireTime()
       Output only. [Output Only] Expire time of the certificate. RFC3339
       
      optional string expire_time = 440691181;
      Specified by:
      getExpireTime in interface SslCertificateOrBuilder
      Returns:
      The expireTime.
    • getExpireTimeBytes

      public com.google.protobuf.ByteString getExpireTimeBytes()
       Output only. [Output Only] Expire time of the certificate. RFC3339
       
      optional string expire_time = 440691181;
      Specified by:
      getExpireTimeBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for expireTime.
    • setExpireTime

      public SslCertificate.Builder setExpireTime(String value)
       Output only. [Output Only] Expire time of the certificate. RFC3339
       
      optional string expire_time = 440691181;
      Parameters:
      value - The expireTime to set.
      Returns:
      This builder for chaining.
    • clearExpireTime

      public SslCertificate.Builder clearExpireTime()
       Output only. [Output Only] Expire time of the certificate. RFC3339
       
      optional string expire_time = 440691181;
      Returns:
      This builder for chaining.
    • setExpireTimeBytes

      public SslCertificate.Builder setExpireTimeBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Expire time of the certificate. RFC3339
       
      optional string expire_time = 440691181;
      Parameters:
      value - The bytes for expireTime to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface SslCertificateOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface SslCertificateOrBuilder
      Returns:
      The id.
    • setId

      public SslCertificate.Builder setId(long value)
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public SslCertificate.Builder clearId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      This builder for chaining.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface SslCertificateOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface SslCertificateOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public SslCertificate.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public SslCertificate.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public SslCertificate.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasManaged

      public boolean hasManaged()
       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
      Specified by:
      hasManaged in interface SslCertificateOrBuilder
      Returns:
      Whether the managed field is set.
    • getManaged

       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
      Specified by:
      getManaged in interface SslCertificateOrBuilder
      Returns:
      The managed.
    • setManaged

       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
    • setManaged

       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
    • mergeManaged

       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
    • clearManaged

      public SslCertificate.Builder clearManaged()
       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
    • getManagedBuilder

      public SslCertificateManagedSslCertificate.Builder getManagedBuilder()
       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
    • getManagedOrBuilder

      public SslCertificateManagedSslCertificateOrBuilder getManagedOrBuilder()
       Configuration and status of a managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
      Specified by:
      getManagedOrBuilder in interface SslCertificateOrBuilder
    • hasName

      public boolean hasName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface SslCertificateOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface SslCertificateOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SslCertificate.Builder setName(String value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public SslCertificate.Builder clearName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public SslCertificate.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasPrivateKey

      public boolean hasPrivateKey()
       A value read into memory from a write-only private key file. The private
       key file must be in PEM format. For security, only insert
       requests include this field.
       
      optional string private_key = 361331107;
      Specified by:
      hasPrivateKey in interface SslCertificateOrBuilder
      Returns:
      Whether the privateKey field is set.
    • getPrivateKey

      public String getPrivateKey()
       A value read into memory from a write-only private key file. The private
       key file must be in PEM format. For security, only insert
       requests include this field.
       
      optional string private_key = 361331107;
      Specified by:
      getPrivateKey in interface SslCertificateOrBuilder
      Returns:
      The privateKey.
    • getPrivateKeyBytes

      public com.google.protobuf.ByteString getPrivateKeyBytes()
       A value read into memory from a write-only private key file. The private
       key file must be in PEM format. For security, only insert
       requests include this field.
       
      optional string private_key = 361331107;
      Specified by:
      getPrivateKeyBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for privateKey.
    • setPrivateKey

      public SslCertificate.Builder setPrivateKey(String value)
       A value read into memory from a write-only private key file. The private
       key file must be in PEM format. For security, only insert
       requests include this field.
       
      optional string private_key = 361331107;
      Parameters:
      value - The privateKey to set.
      Returns:
      This builder for chaining.
    • clearPrivateKey

      public SslCertificate.Builder clearPrivateKey()
       A value read into memory from a write-only private key file. The private
       key file must be in PEM format. For security, only insert
       requests include this field.
       
      optional string private_key = 361331107;
      Returns:
      This builder for chaining.
    • setPrivateKeyBytes

      public SslCertificate.Builder setPrivateKeyBytes(com.google.protobuf.ByteString value)
       A value read into memory from a write-only private key file. The private
       key file must be in PEM format. For security, only insert
       requests include this field.
       
      optional string private_key = 361331107;
      Parameters:
      value - The bytes for privateKey to set.
      Returns:
      This builder for chaining.
    • hasRegion

      public boolean hasRegion()
       Output only. [Output Only] URL of the region where the regional SSL Certificate
       resides. This field is not applicable to global SSL Certificate.
       
      optional string region = 138946292;
      Specified by:
      hasRegion in interface SslCertificateOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       Output only. [Output Only] URL of the region where the regional SSL Certificate
       resides. This field is not applicable to global SSL Certificate.
       
      optional string region = 138946292;
      Specified by:
      getRegion in interface SslCertificateOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Output only. [Output Only] URL of the region where the regional SSL Certificate
       resides. This field is not applicable to global SSL Certificate.
       
      optional string region = 138946292;
      Specified by:
      getRegionBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public SslCertificate.Builder setRegion(String value)
       Output only. [Output Only] URL of the region where the regional SSL Certificate
       resides. This field is not applicable to global SSL Certificate.
       
      optional string region = 138946292;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public SslCertificate.Builder clearRegion()
       Output only. [Output Only] URL of the region where the regional SSL Certificate
       resides. This field is not applicable to global SSL Certificate.
       
      optional string region = 138946292;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public SslCertificate.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the region where the regional SSL Certificate
       resides. This field is not applicable to global SSL Certificate.
       
      optional string region = 138946292;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • hasSelfLink

      public boolean hasSelfLink()
       [Output only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface SslCertificateOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       [Output only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface SslCertificateOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       [Output only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public SslCertificate.Builder setSelfLink(String value)
       [Output only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public SslCertificate.Builder clearSelfLink()
       [Output only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public SslCertificate.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       [Output only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • hasSelfManaged

      public boolean hasSelfManaged()
       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
      Specified by:
      hasSelfManaged in interface SslCertificateOrBuilder
      Returns:
      Whether the selfManaged field is set.
    • getSelfManaged

      public SslCertificateSelfManagedSslCertificate getSelfManaged()
       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
      Specified by:
      getSelfManaged in interface SslCertificateOrBuilder
      Returns:
      The selfManaged.
    • setSelfManaged

       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
    • setSelfManaged

       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
    • mergeSelfManaged

       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
    • clearSelfManaged

      public SslCertificate.Builder clearSelfManaged()
       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
    • getSelfManagedBuilder

      public SslCertificateSelfManagedSslCertificate.Builder getSelfManagedBuilder()
       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
    • getSelfManagedOrBuilder

      public SslCertificateSelfManagedSslCertificateOrBuilder getSelfManagedOrBuilder()
       Configuration and status of a self-managed SSL certificate.
       
      optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
      Specified by:
      getSelfManagedOrBuilder in interface SslCertificateOrBuilder
    • getSubjectAlternativeNamesList

      public com.google.protobuf.ProtocolStringList getSubjectAlternativeNamesList()
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Specified by:
      getSubjectAlternativeNamesList in interface SslCertificateOrBuilder
      Returns:
      A list containing the subjectAlternativeNames.
    • getSubjectAlternativeNamesCount

      public int getSubjectAlternativeNamesCount()
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Specified by:
      getSubjectAlternativeNamesCount in interface SslCertificateOrBuilder
      Returns:
      The count of subjectAlternativeNames.
    • getSubjectAlternativeNames

      public String getSubjectAlternativeNames(int index)
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Specified by:
      getSubjectAlternativeNames in interface SslCertificateOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The subjectAlternativeNames at the given index.
    • getSubjectAlternativeNamesBytes

      public com.google.protobuf.ByteString getSubjectAlternativeNamesBytes(int index)
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Specified by:
      getSubjectAlternativeNamesBytes in interface SslCertificateOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subjectAlternativeNames at the given index.
    • setSubjectAlternativeNames

      public SslCertificate.Builder setSubjectAlternativeNames(int index, String value)
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Parameters:
      index - The index to set the value at.
      value - The subjectAlternativeNames to set.
      Returns:
      This builder for chaining.
    • addSubjectAlternativeNames

      public SslCertificate.Builder addSubjectAlternativeNames(String value)
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Parameters:
      value - The subjectAlternativeNames to add.
      Returns:
      This builder for chaining.
    • addAllSubjectAlternativeNames

      public SslCertificate.Builder addAllSubjectAlternativeNames(Iterable<String> values)
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Parameters:
      values - The subjectAlternativeNames to add.
      Returns:
      This builder for chaining.
    • clearSubjectAlternativeNames

      public SslCertificate.Builder clearSubjectAlternativeNames()
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Returns:
      This builder for chaining.
    • addSubjectAlternativeNamesBytes

      public SslCertificate.Builder addSubjectAlternativeNamesBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Domains associated with the certificate via Subject
       Alternative Name.
       
      repeated string subject_alternative_names = 528807907;
      Parameters:
      value - The bytes of the subjectAlternativeNames to add.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
       "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      hasType in interface SslCertificateOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
       "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getType in interface SslCertificateOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
       "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getTypeBytes in interface SslCertificateOrBuilder
      Returns:
      The bytes for type.
    • setType

      public SslCertificate.Builder setType(String value)
       (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
       "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public SslCertificate.Builder clearType()
       (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
       "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public SslCertificate.Builder setTypeBytes(com.google.protobuf.ByteString value)
       (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
       "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.