Package io.kubernetes.client.proto
Class V1beta1Extensions.HTTPIngressPath.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
io.kubernetes.client.proto.V1beta1Extensions.HTTPIngressPath.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Extensions.HTTPIngressPathOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Extensions.HTTPIngressPath
public static final class V1beta1Extensions.HTTPIngressPath.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
implements V1beta1Extensions.HTTPIngressPathOrBuilder
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.Protobuf type
k8s.io.api.extensions.v1beta1.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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getPath()
Path is matched against the path of an incoming request.com.google.protobuf.ByteString
Path is matched against the path of an incoming request.PathType determines the interpretation of the Path matching.com.google.protobuf.ByteString
PathType determines the interpretation of the Path matching.boolean
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
PathType determines the interpretation of the Path matching.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
Backend 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
(V1beta1Extensions.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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
setField
public V1beta1Extensions.HTTPIngressPath.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
clearField
public V1beta1Extensions.HTTPIngressPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
clearOneof
public V1beta1Extensions.HTTPIngressPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
setRepeatedField
public V1beta1Extensions.HTTPIngressPath.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
addRepeatedField
public V1beta1Extensions.HTTPIngressPath.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
mergeFrom
public V1beta1Extensions.HTTPIngressPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.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 '/'. When unspecified, all paths from incoming requests are matched. +optional
optional string path = 1;
- Specified by:
hasPath
in interfaceV1beta1Extensions.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 '/'. When unspecified, all paths from incoming requests are matched. +optional
optional string path = 1;
- Specified by:
getPath
in interfaceV1beta1Extensions.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 '/'. When unspecified, all paths from incoming requests are matched. +optional
optional string path = 1;
- Specified by:
getPathBytes
in interfaceV1beta1Extensions.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 '/'. When unspecified, all paths from incoming requests are matched. +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 '/'. When unspecified, all paths from incoming requests are matched. +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 '/'. When unspecified, all paths from incoming requests are matched. +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. Defaults to ImplementationSpecific.
optional string pathType = 3;
- Specified by:
hasPathType
in interfaceV1beta1Extensions.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. Defaults to ImplementationSpecific.
optional string pathType = 3;
- Specified by:
getPathType
in interfaceV1beta1Extensions.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. Defaults to ImplementationSpecific.
optional string pathType = 3;
- Specified by:
getPathTypeBytes
in interfaceV1beta1Extensions.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. Defaults to ImplementationSpecific.
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. Defaults to ImplementationSpecific.
optional string pathType = 3;
-
setPathTypeBytes
public V1beta1Extensions.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. Defaults to ImplementationSpecific.
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.extensions.v1beta1.IngressBackend backend = 2;
- Specified by:
hasBackend
in interfaceV1beta1Extensions.HTTPIngressPathOrBuilder
-
getBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
- Specified by:
getBackend
in interfaceV1beta1Extensions.HTTPIngressPathOrBuilder
-
setBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
-
setBackend
public V1beta1Extensions.HTTPIngressPath.Builder setBackend(V1beta1Extensions.IngressBackend.Builder builderForValue) Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
-
mergeBackend
public V1beta1Extensions.HTTPIngressPath.Builder mergeBackend(V1beta1Extensions.IngressBackend value) Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
-
clearBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
-
getBackendBuilder
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
-
getBackendOrBuilder
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 2;
- Specified by:
getBackendOrBuilder
in interfaceV1beta1Extensions.HTTPIngressPathOrBuilder
-
setUnknownFields
public final V1beta1Extensions.HTTPIngressPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-
mergeUnknownFields
public final V1beta1Extensions.HTTPIngressPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.HTTPIngressPath.Builder>
-