public static final class V1Networking.IngressSpec extends com.google.protobuf.GeneratedMessageV3 implements V1Networking.IngressSpecOrBuilder
IngressSpec describes the Ingress the user wishes to exist.Protobuf type
k8s.io.api.networking.v1.IngressSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1Networking.IngressSpec.Builder
IngressSpec describes the Ingress the user wishes to exist.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULTBACKEND_FIELD_NUMBER |
static int |
INGRESSCLASSNAME_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Networking.IngressSpec> |
PARSER
Deprecated.
|
static int |
RULES_FIELD_NUMBER |
static int |
TLS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
V1Networking.IngressBackend |
getDefaultBackend()
DefaultBackend is the backend that should handle requests that don't
match any rule.
|
V1Networking.IngressBackendOrBuilder |
getDefaultBackendOrBuilder()
DefaultBackend is the backend that should handle requests that don't
match any rule.
|
static V1Networking.IngressSpec |
getDefaultInstance() |
V1Networking.IngressSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIngressClassName()
IngressClassName is the name of the IngressClass cluster resource.
|
com.google.protobuf.ByteString |
getIngressClassNameBytes()
IngressClassName is the name of the IngressClass cluster resource.
|
com.google.protobuf.Parser<V1Networking.IngressSpec> |
getParserForType() |
V1Networking.IngressRule |
getRules(int index)
A list of host rules used to configure the Ingress.
|
int |
getRulesCount()
A list of host rules used to configure the Ingress.
|
List<V1Networking.IngressRule> |
getRulesList()
A list of host rules used to configure the Ingress.
|
V1Networking.IngressRuleOrBuilder |
getRulesOrBuilder(int index)
A list of host rules used to configure the Ingress.
|
List<? extends V1Networking.IngressRuleOrBuilder> |
getRulesOrBuilderList()
A list of host rules used to configure the Ingress.
|
int |
getSerializedSize() |
V1Networking.IngressTLS |
getTls(int index)
TLS configuration.
|
int |
getTlsCount()
TLS configuration.
|
List<V1Networking.IngressTLS> |
getTlsList()
TLS configuration.
|
V1Networking.IngressTLSOrBuilder |
getTlsOrBuilder(int index)
TLS configuration.
|
List<? extends V1Networking.IngressTLSOrBuilder> |
getTlsOrBuilderList()
TLS configuration.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDefaultBackend()
DefaultBackend is the backend that should handle requests that don't
match any rule.
|
int |
hashCode() |
boolean |
hasIngressClassName()
IngressClassName is the name of the IngressClass cluster resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Networking.IngressSpec.Builder |
newBuilder() |
static V1Networking.IngressSpec.Builder |
newBuilder(V1Networking.IngressSpec prototype) |
V1Networking.IngressSpec.Builder |
newBuilderForType() |
protected V1Networking.IngressSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Networking.IngressSpec |
parseDelimitedFrom(InputStream input) |
static V1Networking.IngressSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.IngressSpec |
parseFrom(byte[] data) |
static V1Networking.IngressSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.IngressSpec |
parseFrom(ByteBuffer data) |
static V1Networking.IngressSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.IngressSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1Networking.IngressSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.IngressSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Networking.IngressSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.IngressSpec |
parseFrom(InputStream input) |
static V1Networking.IngressSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Networking.IngressSpec> |
parser() |
V1Networking.IngressSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INGRESSCLASSNAME_FIELD_NUMBER
public static final int DEFAULTBACKEND_FIELD_NUMBER
public static final int TLS_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Networking.IngressSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasIngressClassName()
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation. +optional
optional string ingressClassName = 4;hasIngressClassName in interface V1Networking.IngressSpecOrBuilderpublic String getIngressClassName()
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation. +optional
optional string ingressClassName = 4;getIngressClassName in interface V1Networking.IngressSpecOrBuilderpublic com.google.protobuf.ByteString getIngressClassNameBytes()
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation. +optional
optional string ingressClassName = 4;getIngressClassNameBytes in interface V1Networking.IngressSpecOrBuilderpublic 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;hasDefaultBackend in interface V1Networking.IngressSpecOrBuilderpublic V1Networking.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;getDefaultBackend in interface V1Networking.IngressSpecOrBuilderpublic V1Networking.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;getDefaultBackendOrBuilder in interface V1Networking.IngressSpecOrBuilderpublic List<V1Networking.IngressTLS> getTlsList()
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;getTlsList in interface V1Networking.IngressSpecOrBuilderpublic List<? extends V1Networking.IngressTLSOrBuilder> getTlsOrBuilderList()
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;getTlsOrBuilderList in interface V1Networking.IngressSpecOrBuilderpublic int getTlsCount()
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;getTlsCount in interface V1Networking.IngressSpecOrBuilderpublic V1Networking.IngressTLS getTls(int index)
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;getTls in interface V1Networking.IngressSpecOrBuilderpublic V1Networking.IngressTLSOrBuilder getTlsOrBuilder(int index)
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;getTlsOrBuilder in interface V1Networking.IngressSpecOrBuilderpublic List<V1Networking.IngressRule> getRulesList()
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;getRulesList in interface V1Networking.IngressSpecOrBuilderpublic List<? extends V1Networking.IngressRuleOrBuilder> getRulesOrBuilderList()
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;getRulesOrBuilderList in interface V1Networking.IngressSpecOrBuilderpublic int getRulesCount()
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;getRulesCount in interface V1Networking.IngressSpecOrBuilderpublic V1Networking.IngressRule getRules(int index)
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;getRules in interface V1Networking.IngressSpecOrBuilderpublic V1Networking.IngressRuleOrBuilder getRulesOrBuilder(int index)
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;getRulesOrBuilder in interface V1Networking.IngressSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Networking.IngressSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Networking.IngressSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Networking.IngressSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Networking.IngressSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Networking.IngressSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Networking.IngressSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Networking.IngressSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Networking.IngressSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Networking.IngressSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Networking.IngressSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Networking.IngressSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Networking.IngressSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Networking.IngressSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Networking.IngressSpec.Builder newBuilder()
public static V1Networking.IngressSpec.Builder newBuilder(V1Networking.IngressSpec prototype)
public V1Networking.IngressSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Networking.IngressSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Networking.IngressSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1Networking.IngressSpec> parser()
public com.google.protobuf.Parser<V1Networking.IngressSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Networking.IngressSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.