Package k8s.io.api.networking.v1
Class Generated.HTTPIngressPath.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
-
- k8s.io.api.networking.v1.Generated.HTTPIngressPath.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.HTTPIngressPathOrBuilder
- Enclosing class:
- Generated.HTTPIngressPath
public static final class Generated.HTTPIngressPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder> implements Generated.HTTPIngressPathOrBuilder
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
Protobuf typek8s.io.api.networking.v1.HTTPIngressPath
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.HTTPIngressPath.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.HTTPIngressPathbuild()Generated.HTTPIngressPathbuildPartial()Generated.HTTPIngressPath.Builderclear()Generated.HTTPIngressPath.BuilderclearBackend()backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.HTTPIngressPath.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.HTTPIngressPath.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.HTTPIngressPath.BuilderclearPath()path is matched against the path of an incoming request.Generated.HTTPIngressPath.BuilderclearPathType()pathType determines the interpretation of the path matching.Generated.HTTPIngressPath.Builderclone()Generated.IngressBackendgetBackend()backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.IngressBackend.BuildergetBackendBuilder()backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.IngressBackendOrBuildergetBackendOrBuilder()backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.HTTPIngressPathgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPath()path is matched against the path of an incoming request.com.google.protobuf.ByteStringgetPathBytes()path is matched against the path of an incoming request.StringgetPathType()pathType determines the interpretation of the path matching.com.google.protobuf.ByteStringgetPathTypeBytes()pathType determines the interpretation of the path matching.booleanhasBackend()backend defines the referenced service endpoint to which the traffic will be forwarded to.booleanhasPath()path is matched against the path of an incoming request.booleanhasPathType()pathType determines the interpretation of the path matching.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.HTTPIngressPath.BuildermergeBackend(Generated.IngressBackend value)backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.HTTPIngressPath.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.HTTPIngressPath.BuildermergeFrom(com.google.protobuf.Message other)Generated.HTTPIngressPath.BuildermergeFrom(Generated.HTTPIngressPath other)Generated.HTTPIngressPath.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.HTTPIngressPath.BuildersetBackend(Generated.IngressBackend value)backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.HTTPIngressPath.BuildersetBackend(Generated.IngressBackend.Builder builderForValue)backend defines the referenced service endpoint to which the traffic will be forwarded to.Generated.HTTPIngressPath.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.HTTPIngressPath.BuildersetPath(String value)path is matched against the path of an incoming request.Generated.HTTPIngressPath.BuildersetPathBytes(com.google.protobuf.ByteString value)path is matched against the path of an incoming request.Generated.HTTPIngressPath.BuildersetPathType(String value)pathType determines the interpretation of the path matching.Generated.HTTPIngressPath.BuildersetPathTypeBytes(com.google.protobuf.ByteString value)pathType determines the interpretation of the path matching.Generated.HTTPIngressPath.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.HTTPIngressPath.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<Generated.HTTPIngressPath.Builder>
-
clear
public Generated.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<Generated.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<Generated.HTTPIngressPath.Builder>
-
getDefaultInstanceForType
public Generated.HTTPIngressPath getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.HTTPIngressPath build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.HTTPIngressPath buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.HTTPIngressPath.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<Generated.HTTPIngressPath.Builder>
-
setField
public Generated.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<Generated.HTTPIngressPath.Builder>
-
clearField
public Generated.HTTPIngressPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
-
clearOneof
public Generated.HTTPIngressPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
-
setRepeatedField
public Generated.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<Generated.HTTPIngressPath.Builder>
-
addRepeatedField
public Generated.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<Generated.HTTPIngressPath.Builder>
-
mergeFrom
public Generated.HTTPIngressPath.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.HTTPIngressPath.Builder>
-
mergeFrom
public Generated.HTTPIngressPath.Builder mergeFrom(Generated.HTTPIngressPath other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
-
mergeFrom
public Generated.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<Generated.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 interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- Whether the path field is set.
-
getPath
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;- Specified by:
getPathin interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- The path.
-
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 interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- The bytes for path.
-
setPath
public Generated.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;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Generated.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;- Returns:
- This builder for chaining.
-
setPathBytes
public Generated.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;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
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 interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- Whether the pathType field is set.
-
getPathType
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;- Specified by:
getPathTypein interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- The pathType.
-
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 interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- The bytes for pathType.
-
setPathType
public Generated.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;- Parameters:
value- The pathType to set.- Returns:
- This builder for chaining.
-
clearPathType
public Generated.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;- Returns:
- This builder for chaining.
-
setPathTypeBytes
public Generated.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;- Parameters:
value- The bytes for pathType to set.- Returns:
- This builder for chaining.
-
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 interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- Whether the backend field is set.
-
getBackend
public Generated.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;- Specified by:
getBackendin interfaceGenerated.HTTPIngressPathOrBuilder- Returns:
- The backend.
-
setBackend
public Generated.HTTPIngressPath.Builder setBackend(Generated.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;
-
setBackend
public Generated.HTTPIngressPath.Builder setBackend(Generated.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
public Generated.HTTPIngressPath.Builder mergeBackend(Generated.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;
-
clearBackend
public Generated.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;
-
getBackendBuilder
public Generated.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;
-
getBackendOrBuilder
public Generated.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;- Specified by:
getBackendOrBuilderin interfaceGenerated.HTTPIngressPathOrBuilder
-
setUnknownFields
public final Generated.HTTPIngressPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
-
mergeUnknownFields
public final Generated.HTTPIngressPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
-
-