Package k8s.io.api.networking.v1
Class Generated.IngressSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.networking.v1.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 typek8s.io.api.networking.v1.IngressSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.IngressSpec.BuilderIngressSpec describes the Ingress the user wishes to exist.-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULTBACKEND_FIELD_NUMBERstatic intINGRESSCLASSNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.IngressSpec>PARSERDeprecated.static intRULES_FIELD_NUMBERstatic intTLS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Generated.IngressBackendgetDefaultBackend()defaultBackend is the backend that should handle requests that don't match any rule.Generated.IngressBackendOrBuildergetDefaultBackendOrBuilder()defaultBackend is the backend that should handle requests that don't match any rule.static Generated.IngressSpecgetDefaultInstance()Generated.IngressSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetIngressClassName()ingressClassName is the name of an IngressClass cluster resource.com.google.protobuf.ByteStringgetIngressClassNameBytes()ingressClassName is the name of an IngressClass cluster resource.com.google.protobuf.Parser<Generated.IngressSpec>getParserForType()Generated.IngressRulegetRules(int index)rules is a list of host rules used to configure the Ingress.intgetRulesCount()rules is a list of host rules used to configure the Ingress.List<Generated.IngressRule>getRulesList()rules is a list of host rules used to configure the Ingress.Generated.IngressRuleOrBuildergetRulesOrBuilder(int index)rules is a list of host rules used to configure the Ingress.List<? extends Generated.IngressRuleOrBuilder>getRulesOrBuilderList()rules is a list of host rules used to configure the Ingress.intgetSerializedSize()Generated.IngressTLSgetTls(int index)tls represents the TLS configuration.intgetTlsCount()tls represents the TLS configuration.List<Generated.IngressTLS>getTlsList()tls represents the TLS configuration.Generated.IngressTLSOrBuildergetTlsOrBuilder(int index)tls represents the TLS configuration.List<? extends Generated.IngressTLSOrBuilder>getTlsOrBuilderList()tls represents the TLS configuration.booleanhasDefaultBackend()defaultBackend is the backend that should handle requests that don't match any rule.inthashCode()booleanhasIngressClassName()ingressClassName is the name of an IngressClass cluster resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.IngressSpec.BuildernewBuilder()static Generated.IngressSpec.BuildernewBuilder(Generated.IngressSpec prototype)Generated.IngressSpec.BuildernewBuilderForType()protected Generated.IngressSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.IngressSpecparseDelimitedFrom(InputStream input)static Generated.IngressSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.IngressSpecparseFrom(byte[] data)static Generated.IngressSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.IngressSpecparseFrom(com.google.protobuf.ByteString data)static Generated.IngressSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.IngressSpecparseFrom(com.google.protobuf.CodedInputStream input)static Generated.IngressSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.IngressSpecparseFrom(InputStream input)static Generated.IngressSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.IngressSpecparseFrom(ByteBuffer data)static Generated.IngressSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.IngressSpec>parser()Generated.IngressSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INGRESSCLASSNAME_FIELD_NUMBER
public static final int INGRESSCLASSNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULTBACKEND_FIELD_NUMBER
public static final int DEFAULTBACKEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TLS_FIELD_NUMBER
public static final int TLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.IngressSpec> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
hasIngressClassNamein interfaceGenerated.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:
getIngressClassNamein interfaceGenerated.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:
getIngressClassNameBytesin interfaceGenerated.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:
hasDefaultBackendin interfaceGenerated.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:
getDefaultBackendin interfaceGenerated.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:
getDefaultBackendOrBuilderin interfaceGenerated.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:
getTlsListin interfaceGenerated.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:
getTlsOrBuilderListin interfaceGenerated.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:
getTlsCountin interfaceGenerated.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:
getTlsin interfaceGenerated.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:
getTlsOrBuilderin interfaceGenerated.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:
getRulesListin interfaceGenerated.IngressSpecOrBuilder
-
getRulesOrBuilderList
public List<? extends Generated.IngressRuleOrBuilder> getRulesOrBuilderList()
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:
getRulesOrBuilderListin interfaceGenerated.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:
getRulesCountin interfaceGenerated.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:
getRulesin interfaceGenerated.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:
getRulesOrBuilderin interfaceGenerated.IngressSpecOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
-
parseFrom
public static Generated.IngressSpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.IngressSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.IngressSpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.IngressSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.IngressSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.IngressSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.IngressSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.IngressSpec.Builder newBuilder()
-
newBuilder
public static Generated.IngressSpec.Builder newBuilder(Generated.IngressSpec prototype)
-
toBuilder
public Generated.IngressSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.IngressSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.IngressSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.IngressSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.IngressSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.IngressSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-