Class Generated.IngressSpec

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

    public static final class Generated.IngressSpec
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.IngressSpecOrBuilder
     IngressSpec describes the Ingress the user wishes to exist.
     
    Protobuf type k8s.io.api.networking.v1.IngressSpec
    See Also:
    Serialized Form
    • 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
      • hasIngressClassName

        public boolean hasIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Specified by:
        hasIngressClassName in interface Generated.IngressSpecOrBuilder
        Returns:
        Whether the ingressClassName field is set.
      • getIngressClassName

        public String getIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Specified by:
        getIngressClassName in interface Generated.IngressSpecOrBuilder
        Returns:
        The ingressClassName.
      • getIngressClassNameBytes

        public com.google.protobuf.ByteString getIngressClassNameBytes()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Specified by:
        getIngressClassNameBytes in interface Generated.IngressSpecOrBuilder
        Returns:
        The bytes for ingressClassName.
      • hasDefaultBackend

        public boolean hasDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Specified by:
        hasDefaultBackend in interface Generated.IngressSpecOrBuilder
        Returns:
        Whether the defaultBackend field is set.
      • getDefaultBackend

        public Generated.IngressBackend getDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Specified by:
        getDefaultBackend in interface Generated.IngressSpecOrBuilder
        Returns:
        The defaultBackend.
      • getDefaultBackendOrBuilder

        public Generated.IngressBackendOrBuilder getDefaultBackendOrBuilder()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Specified by:
        getDefaultBackendOrBuilder in interface Generated.IngressSpecOrBuilder
      • getTlsList

        public List<Generated.IngressTLS> getTlsList()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsList in interface Generated.IngressSpecOrBuilder
      • getTlsOrBuilderList

        public List<? extends Generated.IngressTLSOrBuilder> getTlsOrBuilderList()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsOrBuilderList in interface Generated.IngressSpecOrBuilder
      • getTlsCount

        public int getTlsCount()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsCount in interface Generated.IngressSpecOrBuilder
      • getTls

        public Generated.IngressTLS getTls​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTls in interface Generated.IngressSpecOrBuilder
      • getTlsOrBuilder

        public Generated.IngressTLSOrBuilder getTlsOrBuilder​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsOrBuilder in interface Generated.IngressSpecOrBuilder
      • getRulesList

        public List<Generated.IngressRule> getRulesList()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRulesList in interface Generated.IngressSpecOrBuilder
      • getRulesCount

        public int getRulesCount()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRulesCount in interface Generated.IngressSpecOrBuilder
      • getRules

        public Generated.IngressRule getRules​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRules in interface Generated.IngressSpecOrBuilder
      • getRulesOrBuilder

        public Generated.IngressRuleOrBuilder getRulesOrBuilder​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRulesOrBuilder in interface Generated.IngressSpecOrBuilder
      • 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.IngressSpec parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Generated.IngressSpec 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.IngressSpec parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<Generated.IngressSpec> 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.IngressSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder