public static final class V1Networking.HTTPIngressPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder> implements V1Networking.HTTPIngressPathOrBuilder
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.Protobuf type
k8s.io.api.networking.v1.HTTPIngressPath| Modifier and Type | Method and Description |
|---|---|
V1Networking.HTTPIngressPath.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Networking.HTTPIngressPath |
build() |
V1Networking.HTTPIngressPath |
buildPartial() |
V1Networking.HTTPIngressPath.Builder |
clear() |
V1Networking.HTTPIngressPath.Builder |
clearBackend()
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.HTTPIngressPath.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Networking.HTTPIngressPath.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Networking.HTTPIngressPath.Builder |
clearPath()
Path is matched against the path of an incoming request.
|
V1Networking.HTTPIngressPath.Builder |
clearPathType()
PathType determines the interpretation of the Path matching.
|
V1Networking.HTTPIngressPath.Builder |
clone() |
V1Networking.IngressBackend |
getBackend()
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.IngressBackend.Builder |
getBackendBuilder()
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.IngressBackendOrBuilder |
getBackendOrBuilder()
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.HTTPIngressPath |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPath()
Path is matched against the path of an incoming request.
|
com.google.protobuf.ByteString |
getPathBytes()
Path is matched against the path of an incoming request.
|
String |
getPathType()
PathType determines the interpretation of the Path matching.
|
com.google.protobuf.ByteString |
getPathTypeBytes()
PathType determines the interpretation of the Path matching.
|
boolean |
hasBackend()
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
boolean |
hasPath()
Path is matched against the path of an incoming request.
|
boolean |
hasPathType()
PathType determines the interpretation of the Path matching.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Networking.HTTPIngressPath.Builder |
mergeBackend(V1Networking.IngressBackend value)
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.HTTPIngressPath.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Networking.HTTPIngressPath.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Networking.HTTPIngressPath.Builder |
mergeFrom(V1Networking.HTTPIngressPath other) |
V1Networking.HTTPIngressPath.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Networking.HTTPIngressPath.Builder |
setBackend(V1Networking.IngressBackend.Builder builderForValue)
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.HTTPIngressPath.Builder |
setBackend(V1Networking.IngressBackend value)
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
V1Networking.HTTPIngressPath.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Networking.HTTPIngressPath.Builder |
setPath(String value)
Path is matched against the path of an incoming request.
|
V1Networking.HTTPIngressPath.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path is matched against the path of an incoming request.
|
V1Networking.HTTPIngressPath.Builder |
setPathType(String value)
PathType determines the interpretation of the Path matching.
|
V1Networking.HTTPIngressPath.Builder |
setPathTypeBytes(com.google.protobuf.ByteString value)
PathType determines the interpretation of the Path matching.
|
V1Networking.HTTPIngressPath.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.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.HTTPIngressPath.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.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Networking.HTTPIngressPath build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Networking.HTTPIngressPath buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Networking.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.Builder mergeFrom(V1Networking.HTTPIngressPath other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>public V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>IOExceptionpublic boolean hasPath()
Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix". +optional
optional string path = 1;hasPath in interface V1Networking.HTTPIngressPathOrBuilderpublic String getPath()
Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix". +optional
optional string path = 1;getPath in interface V1Networking.HTTPIngressPathOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix". +optional
optional string path = 1;getPathBytes in interface V1Networking.HTTPIngressPathOrBuilderpublic V1Networking.HTTPIngressPath.Builder setPath(String value)
Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix". +optional
optional string path = 1;public V1Networking.HTTPIngressPath.Builder clearPath()
Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix". +optional
optional string path = 1;public V1Networking.HTTPIngressPath.Builder setPathBytes(com.google.protobuf.ByteString value)
Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix". +optional
optional string path = 1;public boolean hasPathType()
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.
optional string pathType = 3;hasPathType in interface V1Networking.HTTPIngressPathOrBuilderpublic String getPathType()
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.
optional string pathType = 3;getPathType in interface V1Networking.HTTPIngressPathOrBuilderpublic com.google.protobuf.ByteString getPathTypeBytes()
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.
optional string pathType = 3;getPathTypeBytes in interface V1Networking.HTTPIngressPathOrBuilderpublic V1Networking.HTTPIngressPath.Builder setPathType(String value)
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.
optional string pathType = 3;public V1Networking.HTTPIngressPath.Builder clearPathType()
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.
optional string pathType = 3;public V1Networking.HTTPIngressPath.Builder setPathTypeBytes(com.google.protobuf.ByteString value)
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.
optional string pathType = 3;public boolean hasBackend()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;hasBackend in interface V1Networking.HTTPIngressPathOrBuilderpublic V1Networking.IngressBackend getBackend()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;getBackend in interface V1Networking.HTTPIngressPathOrBuilderpublic V1Networking.HTTPIngressPath.Builder setBackend(V1Networking.IngressBackend value)
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;public V1Networking.HTTPIngressPath.Builder setBackend(V1Networking.IngressBackend.Builder builderForValue)
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;public V1Networking.HTTPIngressPath.Builder mergeBackend(V1Networking.IngressBackend value)
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;public V1Networking.HTTPIngressPath.Builder clearBackend()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;public V1Networking.IngressBackend.Builder getBackendBuilder()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;public V1Networking.IngressBackendOrBuilder getBackendOrBuilder()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;getBackendOrBuilder in interface V1Networking.HTTPIngressPathOrBuilderpublic final V1Networking.HTTPIngressPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>public final V1Networking.HTTPIngressPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>Copyright © 2023. All rights reserved.