public static final class V1Networking.IngressRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder> implements V1Networking.IngressRuleOrBuilder
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.Protobuf type
k8s.io.api.networking.v1.IngressRule| Modifier and Type | Method and Description |
|---|---|
V1Networking.IngressRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Networking.IngressRule |
build() |
V1Networking.IngressRule |
buildPartial() |
V1Networking.IngressRule.Builder |
clear() |
V1Networking.IngressRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Networking.IngressRule.Builder |
clearHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
V1Networking.IngressRule.Builder |
clearIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1Networking.IngressRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Networking.IngressRule.Builder |
clone() |
V1Networking.IngressRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
com.google.protobuf.ByteString |
getHostBytes()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
V1Networking.IngressRuleValue |
getIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1Networking.IngressRuleValue.Builder |
getIngressRuleValueBuilder()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1Networking.IngressRuleValueOrBuilder |
getIngressRuleValueOrBuilder()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
boolean |
hasHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
boolean |
hasIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Networking.IngressRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Networking.IngressRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Networking.IngressRule.Builder |
mergeFrom(V1Networking.IngressRule other) |
V1Networking.IngressRule.Builder |
mergeIngressRuleValue(V1Networking.IngressRuleValue value)
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1Networking.IngressRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Networking.IngressRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Networking.IngressRule.Builder |
setHost(String value)
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
V1Networking.IngressRule.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
V1Networking.IngressRule.Builder |
setIngressRuleValue(V1Networking.IngressRuleValue.Builder builderForValue)
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1Networking.IngressRule.Builder |
setIngressRuleValue(V1Networking.IngressRuleValue value)
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1Networking.IngressRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Networking.IngressRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Networking.IngressRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Networking.IngressRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Networking.IngressRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder mergeFrom(V1Networking.IngressRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public V1Networking.IngressRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Networking.IngressRule.Builder>IOExceptionpublic boolean hasHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the
URI as defined in RFC 3986:
1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future.
Incoming requests are matched against the host before the
IngressRuleValue. If the host is unspecified, the Ingress routes all
traffic based on the specified IngressRuleValue.
Host can be "precise" which is a domain name without the terminating dot of
a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
prefixed with a single wildcard label (e.g. "*.foo.com").
The wildcard character '*' must appear by itself as the first DNS label and
matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
Requests will be matched against the Host field in the following way:
1. If Host is precise, the request matches this rule if the http host header is equal to Host.
2. If Host is a wildcard, then the request matches this rule if the http host header
is to equal to the suffix (removing the first label) of the wildcard rule.
+optional
optional string host = 1;hasHost in interface V1Networking.IngressRuleOrBuilderpublic String getHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the
URI as defined in RFC 3986:
1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future.
Incoming requests are matched against the host before the
IngressRuleValue. If the host is unspecified, the Ingress routes all
traffic based on the specified IngressRuleValue.
Host can be "precise" which is a domain name without the terminating dot of
a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
prefixed with a single wildcard label (e.g. "*.foo.com").
The wildcard character '*' must appear by itself as the first DNS label and
matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
Requests will be matched against the Host field in the following way:
1. If Host is precise, the request matches this rule if the http host header is equal to Host.
2. If Host is a wildcard, then the request matches this rule if the http host header
is to equal to the suffix (removing the first label) of the wildcard rule.
+optional
optional string host = 1;getHost in interface V1Networking.IngressRuleOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the
URI as defined in RFC 3986:
1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future.
Incoming requests are matched against the host before the
IngressRuleValue. If the host is unspecified, the Ingress routes all
traffic based on the specified IngressRuleValue.
Host can be "precise" which is a domain name without the terminating dot of
a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
prefixed with a single wildcard label (e.g. "*.foo.com").
The wildcard character '*' must appear by itself as the first DNS label and
matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
Requests will be matched against the Host field in the following way:
1. If Host is precise, the request matches this rule if the http host header is equal to Host.
2. If Host is a wildcard, then the request matches this rule if the http host header
is to equal to the suffix (removing the first label) of the wildcard rule.
+optional
optional string host = 1;getHostBytes in interface V1Networking.IngressRuleOrBuilderpublic V1Networking.IngressRule.Builder setHost(String value)
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the
URI as defined in RFC 3986:
1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future.
Incoming requests are matched against the host before the
IngressRuleValue. If the host is unspecified, the Ingress routes all
traffic based on the specified IngressRuleValue.
Host can be "precise" which is a domain name without the terminating dot of
a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
prefixed with a single wildcard label (e.g. "*.foo.com").
The wildcard character '*' must appear by itself as the first DNS label and
matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
Requests will be matched against the Host field in the following way:
1. If Host is precise, the request matches this rule if the http host header is equal to Host.
2. If Host is a wildcard, then the request matches this rule if the http host header
is to equal to the suffix (removing the first label) of the wildcard rule.
+optional
optional string host = 1;public V1Networking.IngressRule.Builder clearHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the
URI as defined in RFC 3986:
1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future.
Incoming requests are matched against the host before the
IngressRuleValue. If the host is unspecified, the Ingress routes all
traffic based on the specified IngressRuleValue.
Host can be "precise" which is a domain name without the terminating dot of
a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
prefixed with a single wildcard label (e.g. "*.foo.com").
The wildcard character '*' must appear by itself as the first DNS label and
matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
Requests will be matched against the Host field in the following way:
1. If Host is precise, the request matches this rule if the http host header is equal to Host.
2. If Host is a wildcard, then the request matches this rule if the http host header
is to equal to the suffix (removing the first label) of the wildcard rule.
+optional
optional string host = 1;public V1Networking.IngressRule.Builder setHostBytes(com.google.protobuf.ByteString value)
Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the
URI as defined in RFC 3986:
1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future.
Incoming requests are matched against the host before the
IngressRuleValue. If the host is unspecified, the Ingress routes all
traffic based on the specified IngressRuleValue.
Host can be "precise" which is a domain name without the terminating dot of
a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
prefixed with a single wildcard label (e.g. "*.foo.com").
The wildcard character '*' must appear by itself as the first DNS label and
matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
Requests will be matched against the Host field in the following way:
1. If Host is precise, the request matches this rule if the http host header is equal to Host.
2. If Host is a wildcard, then the request matches this rule if the http host header
is to equal to the suffix (removing the first label) of the wildcard rule.
+optional
optional string host = 1;public boolean hasIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;hasIngressRuleValue in interface V1Networking.IngressRuleOrBuilderpublic V1Networking.IngressRuleValue getIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;getIngressRuleValue in interface V1Networking.IngressRuleOrBuilderpublic V1Networking.IngressRule.Builder setIngressRuleValue(V1Networking.IngressRuleValue value)
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;public V1Networking.IngressRule.Builder setIngressRuleValue(V1Networking.IngressRuleValue.Builder builderForValue)
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;public V1Networking.IngressRule.Builder mergeIngressRuleValue(V1Networking.IngressRuleValue value)
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;public V1Networking.IngressRule.Builder clearIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;public V1Networking.IngressRuleValue.Builder getIngressRuleValueBuilder()
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;public V1Networking.IngressRuleValueOrBuilder getIngressRuleValueOrBuilder()
IngressRuleValue represents a rule to route requests for this IngressRule. If unspecified, the rule defaults to a http catch-all. Whether that sends just traffic matching the host to the default backend or all traffic to the default backend, is left to the controller fulfilling the Ingress. Http is currently the only supported IngressRuleValue. +optional
optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;getIngressRuleValueOrBuilder in interface V1Networking.IngressRuleOrBuilderpublic final V1Networking.IngressRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>public final V1Networking.IngressRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressRule.Builder>Copyright © 2023. All rights reserved.