public static final class V1Networking.HTTPIngressPath extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
V1Networking.HTTPIngressPath.Builder
HTTPIngressPath associates a path with a backend.
|
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 |
BACKEND_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Networking.HTTPIngressPath> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
PATHTYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
V1Networking.IngressBackend |
getBackend()
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.
|
static V1Networking.HTTPIngressPath |
getDefaultInstance() |
V1Networking.HTTPIngressPath |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<V1Networking.HTTPIngressPath> |
getParserForType() |
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBackend()
Backend defines the referenced service endpoint to which the traffic
will be forwarded to.
|
int |
hashCode() |
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() |
static V1Networking.HTTPIngressPath.Builder |
newBuilder() |
static V1Networking.HTTPIngressPath.Builder |
newBuilder(V1Networking.HTTPIngressPath prototype) |
V1Networking.HTTPIngressPath.Builder |
newBuilderForType() |
protected V1Networking.HTTPIngressPath.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Networking.HTTPIngressPath |
parseDelimitedFrom(InputStream input) |
static V1Networking.HTTPIngressPath |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.HTTPIngressPath |
parseFrom(byte[] data) |
static V1Networking.HTTPIngressPath |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.HTTPIngressPath |
parseFrom(ByteBuffer data) |
static V1Networking.HTTPIngressPath |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.HTTPIngressPath |
parseFrom(com.google.protobuf.ByteString data) |
static V1Networking.HTTPIngressPath |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.HTTPIngressPath |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Networking.HTTPIngressPath |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Networking.HTTPIngressPath |
parseFrom(InputStream input) |
static V1Networking.HTTPIngressPath |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Networking.HTTPIngressPath> |
parser() |
V1Networking.HTTPIngressPath.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PATH_FIELD_NUMBER
public static final int PATHTYPE_FIELD_NUMBER
public static final int BACKEND_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Networking.HTTPIngressPath> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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.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 boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V1Networking.HTTPIngressPath parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1Networking.HTTPIngressPath parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1Networking.HTTPIngressPath parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1Networking.HTTPIngressPath parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1Networking.HTTPIngressPath parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1Networking.HTTPIngressPath parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1Networking.HTTPIngressPath parseFrom(InputStream input) throws IOException
IOException
public static V1Networking.HTTPIngressPath parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1Networking.HTTPIngressPath parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V1Networking.HTTPIngressPath parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1Networking.HTTPIngressPath parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V1Networking.HTTPIngressPath parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V1Networking.HTTPIngressPath.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V1Networking.HTTPIngressPath.Builder newBuilder()
public static V1Networking.HTTPIngressPath.Builder newBuilder(V1Networking.HTTPIngressPath prototype)
public V1Networking.HTTPIngressPath.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V1Networking.HTTPIngressPath.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V1Networking.HTTPIngressPath getDefaultInstance()
public static com.google.protobuf.Parser<V1Networking.HTTPIngressPath> parser()
public com.google.protobuf.Parser<V1Networking.HTTPIngressPath> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V1Networking.HTTPIngressPath getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.