public static final class V1beta1Extensions.IngressRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder> implements V1beta1Extensions.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.extensions.v1beta1.IngressRule| Modifier and Type | Method and Description |
|---|---|
V1beta1Extensions.IngressRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.IngressRule |
build() |
V1beta1Extensions.IngressRule |
buildPartial() |
V1beta1Extensions.IngressRule.Builder |
clear() |
V1beta1Extensions.IngressRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Extensions.IngressRule.Builder |
clearHost()
Host is the fully qualified domain name of a network host, as defined
by RFC 3986.
|
V1beta1Extensions.IngressRule.Builder |
clearIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1beta1Extensions.IngressRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Extensions.IngressRule.Builder |
clone() |
V1beta1Extensions.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.
|
V1beta1Extensions.IngressRuleValue |
getIngressRuleValue()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1beta1Extensions.IngressRuleValue.Builder |
getIngressRuleValueBuilder()
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1beta1Extensions.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() |
V1beta1Extensions.IngressRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Extensions.IngressRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Extensions.IngressRule.Builder |
mergeFrom(V1beta1Extensions.IngressRule other) |
V1beta1Extensions.IngressRule.Builder |
mergeIngressRuleValue(V1beta1Extensions.IngressRuleValue value)
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1beta1Extensions.IngressRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Extensions.IngressRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.IngressRule.Builder |
setHost(String value)
Host is the fully qualified domain name of a network host, as defined
by RFC 3986.
|
V1beta1Extensions.IngressRule.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Host is the fully qualified domain name of a network host, as defined
by RFC 3986.
|
V1beta1Extensions.IngressRule.Builder |
setIngressRuleValue(V1beta1Extensions.IngressRuleValue.Builder builderForValue)
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1beta1Extensions.IngressRule.Builder |
setIngressRuleValue(V1beta1Extensions.IngressRuleValue value)
IngressRuleValue represents a rule to route requests for this IngressRule.
|
V1beta1Extensions.IngressRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Extensions.IngressRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.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<V1beta1Extensions.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<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.IngressRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Extensions.IngressRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.IngressRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.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<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.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<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.IngressRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.IngressRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.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<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.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<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.IngressRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.IngressRule.Builder mergeFrom(V1beta1Extensions.IngressRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder>public V1beta1Extensions.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<V1beta1Extensions.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 the RFC:
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.
+optional
optional string host = 1;hasHost in interface V1beta1Extensions.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 the RFC:
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.
+optional
optional string host = 1;getHost in interface V1beta1Extensions.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 the RFC:
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.
+optional
optional string host = 1;getHostBytes in interface V1beta1Extensions.IngressRuleOrBuilderpublic V1beta1Extensions.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 the RFC:
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.
+optional
optional string host = 1;public V1beta1Extensions.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 the RFC:
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.
+optional
optional string host = 1;public V1beta1Extensions.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 the RFC:
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.
+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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
hasIngressRuleValue in interface V1beta1Extensions.IngressRuleOrBuilderpublic V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
getIngressRuleValue in interface V1beta1Extensions.IngressRuleOrBuilderpublic V1beta1Extensions.IngressRule.Builder setIngressRuleValue(V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
public V1beta1Extensions.IngressRule.Builder setIngressRuleValue(V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
public V1beta1Extensions.IngressRule.Builder mergeIngressRuleValue(V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
public V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
public V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
public V1beta1Extensions.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.extensions.v1beta1.IngressRuleValue ingressRuleValue = 2;
getIngressRuleValueOrBuilder in interface V1beta1Extensions.IngressRuleOrBuilderpublic final V1beta1Extensions.IngressRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder>public final V1beta1Extensions.IngressRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRule.Builder>Copyright © 2021. All rights reserved.