Class Generated.IngressTLS

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.IngressTLSOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.IngressTLS
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.IngressTLSOrBuilder
     IngressTLS describes the transport layer security associated with an ingress.
     
    Protobuf type k8s.io.api.networking.v1.IngressTLS
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Generated.IngressTLS.Builder
      IngressTLS describes the transport layer security associated with an ingress.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int HOSTS_FIELD_NUMBER  
      static com.google.protobuf.Parser<Generated.IngressTLS> PARSER
      Deprecated.
      static int SECRETNAME_FIELD_NUMBER  
      • Fields inherited from class com.google.protobuf.GeneratedMessageV3

        alwaysUseFieldBuilders, unknownFields
      • Fields inherited from class com.google.protobuf.AbstractMessage

        memoizedSize
      • Fields inherited from class com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getHostsList

        public com.google.protobuf.ProtocolStringList getHostsList()
         hosts is 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.
         +listType=atomic
         +optional
         
        repeated string hosts = 1;
        Specified by:
        getHostsList in interface Generated.IngressTLSOrBuilder
        Returns:
        A list containing the hosts.
      • getHostsCount

        public int getHostsCount()
         hosts is 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.
         +listType=atomic
         +optional
         
        repeated string hosts = 1;
        Specified by:
        getHostsCount in interface Generated.IngressTLSOrBuilder
        Returns:
        The count of hosts.
      • getHosts

        public String getHosts​(int index)
         hosts is 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.
         +listType=atomic
         +optional
         
        repeated string hosts = 1;
        Specified by:
        getHosts in interface Generated.IngressTLSOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The hosts at the given index.
      • getHostsBytes

        public com.google.protobuf.ByteString getHostsBytes​(int index)
         hosts is 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.
         +listType=atomic
         +optional
         
        repeated string hosts = 1;
        Specified by:
        getHostsBytes in interface Generated.IngressTLSOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the hosts at the given index.
      • hasSecretName

        public boolean hasSecretName()
         secretName is the name of the secret used to terminate TLS traffic on
         port 443. Field is left optional to allow TLS 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 Generated.IngressTLSOrBuilder
        Returns:
        Whether the secretName field is set.
      • getSecretName

        public String getSecretName()
         secretName is the name of the secret used to terminate TLS traffic on
         port 443. Field is left optional to allow TLS 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 Generated.IngressTLSOrBuilder
        Returns:
        The secretName.
      • getSecretNameBytes

        public com.google.protobuf.ByteString getSecretNameBytes()
         secretName is the name of the secret used to terminate TLS traffic on
         port 443. Field is left optional to allow TLS 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 Generated.IngressTLSOrBuilder
        Returns:
        The bytes for secretName.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.IngressTLS parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.IngressTLS parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.IngressTLS parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.IngressTLS parseFrom​(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.IngressTLS parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.IngressTLS parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Generated.IngressTLS.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Generated.IngressTLS.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.IngressTLS.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.IngressTLS> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Generated.IngressTLS getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder