Package io.kubernetes.client.proto
Class V1Networking.HTTPIngressPath.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
io.kubernetes.client.proto.V1Networking.HTTPIngressPath.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Networking.HTTPIngressPathOrBuilder,Cloneable
- Enclosing class:
- V1Networking.HTTPIngressPath
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Backend defines the referenced service endpoint to which the traffic will be forwarded to.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Path is matched against the path of an incoming request.PathType determines the interpretation of the Path matching.clone()Backend defines the referenced service endpoint to which the traffic will be forwarded to.Backend defines the referenced service endpoint to which the traffic will be forwarded to.Backend defines the referenced service endpoint to which the traffic will be forwarded to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPath()Path is matched against the path of an incoming request.com.google.protobuf.ByteStringPath is matched against the path of an incoming request.PathType determines the interpretation of the Path matching.com.google.protobuf.ByteStringPathType determines the interpretation of the Path matching.booleanBackend defines the referenced service endpoint to which the traffic will be forwarded to.booleanhasPath()Path is matched against the path of an incoming request.booleanPathType determines the interpretation of the Path matching.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanBackend defines the referenced service endpoint to which the traffic will be forwarded to.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Backend defines the referenced service endpoint to which the traffic will be forwarded to.setBackend(V1Networking.IngressBackend.Builder builderForValue) Backend defines the referenced service endpoint to which the traffic will be forwarded to.Path is matched against the path of an incoming request.setPathBytes(com.google.protobuf.ByteString value) Path is matched against the path of an incoming request.setPathType(String value) PathType determines the interpretation of the Path matching.setPathTypeBytes(com.google.protobuf.ByteString value) PathType determines the interpretation of the Path matching.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
setField
public V1Networking.HTTPIngressPath.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
clearField
public V1Networking.HTTPIngressPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
clearOneof
public V1Networking.HTTPIngressPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
setRepeatedField
public V1Networking.HTTPIngressPath.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
addRepeatedField
public V1Networking.HTTPIngressPath.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Networking.HTTPIngressPath.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
mergeFrom
public V1Networking.HTTPIngressPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Networking.HTTPIngressPath.Builder>- Throws:
IOException
-
hasPath
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;- Specified by:
hasPathin interfaceV1Networking.HTTPIngressPathOrBuilder
-
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;- Specified by:
getPathin interfaceV1Networking.HTTPIngressPathOrBuilder
-
getPathBytes
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;- Specified by:
getPathBytesin interfaceV1Networking.HTTPIngressPathOrBuilder
-
setPath
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; -
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; -
setPathBytes
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; -
hasPathType
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;- Specified by:
hasPathTypein interfaceV1Networking.HTTPIngressPathOrBuilder
-
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;- Specified by:
getPathTypein interfaceV1Networking.HTTPIngressPathOrBuilder
-
getPathTypeBytes
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;- Specified by:
getPathTypeBytesin interfaceV1Networking.HTTPIngressPathOrBuilder
-
setPathType
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; -
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; -
setPathTypeBytes
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; -
hasBackend
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;- Specified by:
hasBackendin interfaceV1Networking.HTTPIngressPathOrBuilder
-
getBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;- Specified by:
getBackendin interfaceV1Networking.HTTPIngressPathOrBuilder
-
setBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2; -
setBackend
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; -
mergeBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2; -
clearBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2; -
getBackendBuilder
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2; -
getBackendOrBuilder
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.networking.v1.IngressBackend backend = 2;- Specified by:
getBackendOrBuilderin interfaceV1Networking.HTTPIngressPathOrBuilder
-
setUnknownFields
public final V1Networking.HTTPIngressPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-
mergeUnknownFields
public final V1Networking.HTTPIngressPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder>
-