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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
public V1Networking.HTTPIngressPath getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1Networking.HTTPIngressPath build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1Networking.HTTPIngressPath buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1Networking.HTTPIngressPath.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Networking.HTTPIngressPath.Builder>
IOException
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public 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.HTTPIngressPathOrBuilder
public final V1Networking.HTTPIngressPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
Copyright © 2022. All rights reserved.