Class V1beta1Extensions.IngressTLS.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
io.kubernetes.client.proto.V1beta1Extensions.IngressTLS.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta1Extensions.IngressTLSOrBuilder, Cloneable
Enclosing class:
V1beta1Extensions.IngressTLS

public static final class V1beta1Extensions.IngressTLS.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder> implements V1beta1Extensions.IngressTLSOrBuilder
 IngressTLS describes the transport layer security associated with an Ingress.
 
Protobuf type k8s.io.api.extensions.v1beta1.IngressTLS
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • getDefaultInstanceForType

      public V1beta1Extensions.IngressTLS 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 V1beta1Extensions.IngressTLS buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • setField

      public V1beta1Extensions.IngressTLS.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • clearField

      public V1beta1Extensions.IngressTLS.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • clearOneof

      public V1beta1Extensions.IngressTLS.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • setRepeatedField

      public V1beta1Extensions.IngressTLS.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • addRepeatedField

      public V1beta1Extensions.IngressTLS.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • mergeFrom

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

    • isInitialized

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

      public V1beta1Extensions.IngressTLS.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<V1beta1Extensions.IngressTLS.Builder>
      Throws:
      IOException
    • getHostsList

      public com.google.protobuf.ProtocolStringList getHostsList()
       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
      Specified by:
      getHostsList in interface V1beta1Extensions.IngressTLSOrBuilder
    • getHostsCount

      public int getHostsCount()
       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
      Specified by:
      getHostsCount in interface V1beta1Extensions.IngressTLSOrBuilder
    • getHosts

      public String getHosts(int index)
       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
      Specified by:
      getHosts in interface V1beta1Extensions.IngressTLSOrBuilder
    • getHostsBytes

      public com.google.protobuf.ByteString getHostsBytes(int index)
       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
      Specified by:
      getHostsBytes in interface V1beta1Extensions.IngressTLSOrBuilder
    • setHosts

      public V1beta1Extensions.IngressTLS.Builder setHosts(int index, String value)
       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
    • addHosts

       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
    • addAllHosts

       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
    • clearHosts

       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
    • addHostsBytes

      public V1beta1Extensions.IngressTLS.Builder addHostsBytes(com.google.protobuf.ByteString value)
       Hosts are a list of hosts included in the TLS certificate. The values in
       this list must match the name/s used in the tlsSecret. Defaults to the
       wildcard host setting for the loadbalancer controller fulfilling this
       Ingress, if left unspecified.
       +optional
       
      repeated string hosts = 1;
    • hasSecretName

      public boolean hasSecretName()
       SecretName is the name of the secret used to terminate SSL traffic on 443.
       Field is left optional to allow SSL routing based on SNI hostname alone.
       If the SNI host in a listener conflicts with the "Host" header field used
       by an IngressRule, the SNI host is used for termination and value of the
       Host header is used for routing.
       +optional
       
      optional string secretName = 2;
      Specified by:
      hasSecretName in interface V1beta1Extensions.IngressTLSOrBuilder
    • getSecretName

      public String getSecretName()
       SecretName is the name of the secret used to terminate SSL traffic on 443.
       Field is left optional to allow SSL routing based on SNI hostname alone.
       If the SNI host in a listener conflicts with the "Host" header field used
       by an IngressRule, the SNI host is used for termination and value of the
       Host header is used for routing.
       +optional
       
      optional string secretName = 2;
      Specified by:
      getSecretName in interface V1beta1Extensions.IngressTLSOrBuilder
    • getSecretNameBytes

      public com.google.protobuf.ByteString getSecretNameBytes()
       SecretName is the name of the secret used to terminate SSL traffic on 443.
       Field is left optional to allow SSL routing based on SNI hostname alone.
       If the SNI host in a listener conflicts with the "Host" header field used
       by an IngressRule, the SNI host is used for termination and value of the
       Host header is used for routing.
       +optional
       
      optional string secretName = 2;
      Specified by:
      getSecretNameBytes in interface V1beta1Extensions.IngressTLSOrBuilder
    • setSecretName

      public V1beta1Extensions.IngressTLS.Builder setSecretName(String value)
       SecretName is the name of the secret used to terminate SSL traffic on 443.
       Field is left optional to allow SSL routing based on SNI hostname alone.
       If the SNI host in a listener conflicts with the "Host" header field used
       by an IngressRule, the SNI host is used for termination and value of the
       Host header is used for routing.
       +optional
       
      optional string secretName = 2;
    • clearSecretName

      public V1beta1Extensions.IngressTLS.Builder clearSecretName()
       SecretName is the name of the secret used to terminate SSL traffic on 443.
       Field is left optional to allow SSL routing based on SNI hostname alone.
       If the SNI host in a listener conflicts with the "Host" header field used
       by an IngressRule, the SNI host is used for termination and value of the
       Host header is used for routing.
       +optional
       
      optional string secretName = 2;
    • setSecretNameBytes

      public V1beta1Extensions.IngressTLS.Builder setSecretNameBytes(com.google.protobuf.ByteString value)
       SecretName is the name of the secret used to terminate SSL traffic on 443.
       Field is left optional to allow SSL routing based on SNI hostname alone.
       If the SNI host in a listener conflicts with the "Host" header field used
       by an IngressRule, the SNI host is used for termination and value of the
       Host header is used for routing.
       +optional
       
      optional string secretName = 2;
    • setUnknownFields

      public final V1beta1Extensions.IngressTLS.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>
    • mergeUnknownFields

      public final V1beta1Extensions.IngressTLS.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressTLS.Builder>