Class TargetSslProxiesSetSslCertificatesRequest.Builder

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

public static final class TargetSslProxiesSetSslCertificatesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TargetSslProxiesSetSslCertificatesRequest.Builder> implements TargetSslProxiesSetSslCertificatesRequestOrBuilder
 
Protobuf type google.cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequest
  • 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<TargetSslProxiesSetSslCertificatesRequest.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<TargetSslProxiesSetSslCertificatesRequest.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<TargetSslProxiesSetSslCertificatesRequest.Builder>
    • getDefaultInstanceForType

      public TargetSslProxiesSetSslCertificatesRequest 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

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

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

      public TargetSslProxiesSetSslCertificatesRequest.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<TargetSslProxiesSetSslCertificatesRequest.Builder>
      Throws:
      IOException
    • getSslCertificatesList

      public com.google.protobuf.ProtocolStringList getSslCertificatesList()
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificatesList in interface TargetSslProxiesSetSslCertificatesRequestOrBuilder
      Returns:
      A list containing the sslCertificates.
    • getSslCertificatesCount

      public int getSslCertificatesCount()
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificatesCount in interface TargetSslProxiesSetSslCertificatesRequestOrBuilder
      Returns:
      The count of sslCertificates.
    • getSslCertificates

      public String getSslCertificates(int index)
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificates in interface TargetSslProxiesSetSslCertificatesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sslCertificates at the given index.
    • getSslCertificatesBytes

      public com.google.protobuf.ByteString getSslCertificatesBytes(int index)
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificatesBytes in interface TargetSslProxiesSetSslCertificatesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sslCertificates at the given index.
    • setSslCertificates

      public TargetSslProxiesSetSslCertificatesRequest.Builder setSslCertificates(int index, String value)
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Parameters:
      index - The index to set the value at.
      value - The sslCertificates to set.
      Returns:
      This builder for chaining.
    • addSslCertificates

      public TargetSslProxiesSetSslCertificatesRequest.Builder addSslCertificates(String value)
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Parameters:
      value - The sslCertificates to add.
      Returns:
      This builder for chaining.
    • addAllSslCertificates

      public TargetSslProxiesSetSslCertificatesRequest.Builder addAllSslCertificates(Iterable<String> values)
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Parameters:
      values - The sslCertificates to add.
      Returns:
      This builder for chaining.
    • clearSslCertificates

       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Returns:
      This builder for chaining.
    • addSslCertificatesBytes

      public TargetSslProxiesSetSslCertificatesRequest.Builder addSslCertificatesBytes(com.google.protobuf.ByteString value)
       New set of URLs to SslCertificate resources to associate with this
       TargetSslProxy. At least one SSL certificate must be specified.
       Currently, you may specify up to 15 SSL certificates.
       
      repeated string ssl_certificates = 366006543;
      Parameters:
      value - The bytes of the sslCertificates to add.
      Returns:
      This builder for chaining.