Package io.envoyproxy.envoy.type.matcher
Class PathMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>
-
- io.envoyproxy.envoy.type.matcher.PathMatcher.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PathMatcherOrBuilder,Cloneable
- Enclosing class:
- PathMatcher
public static final class PathMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder> implements PathMatcherOrBuilder
Specifies the way to match a path on HTTP request.
Protobuf typeenvoy.type.matcher.PathMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatcher.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PathMatcherbuild()PathMatcherbuildPartial()PathMatcher.Builderclear()PathMatcher.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PathMatcher.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PathMatcher.BuilderclearPath()The `path` must match the URL path portion of the :path header.PathMatcher.BuilderclearRule()PathMatcher.Builderclone()PathMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringMatchergetPath()The `path` must match the URL path portion of the :path header.StringMatcher.BuildergetPathBuilder()The `path` must match the URL path portion of the :path header.StringMatcherOrBuildergetPathOrBuilder()The `path` must match the URL path portion of the :path header.PathMatcher.RuleCasegetRuleCase()booleanhasPath()The `path` must match the URL path portion of the :path header.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PathMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PathMatcher.BuildermergeFrom(com.google.protobuf.Message other)PathMatcher.BuildermergeFrom(PathMatcher other)PathMatcher.BuildermergePath(StringMatcher value)The `path` must match the URL path portion of the :path header.PathMatcher.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PathMatcher.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PathMatcher.BuildersetPath(StringMatcher value)The `path` must match the URL path portion of the :path header.PathMatcher.BuildersetPath(StringMatcher.Builder builderForValue)The `path` must match the URL path portion of the :path header.PathMatcher.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PathMatcher.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<PathMatcher.Builder>
-
clear
public PathMatcher.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<PathMatcher.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<PathMatcher.Builder>
-
getDefaultInstanceForType
public PathMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PathMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PathMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PathMatcher.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<PathMatcher.Builder>
-
setField
public PathMatcher.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<PathMatcher.Builder>
-
clearField
public PathMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>
-
clearOneof
public PathMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>
-
setRepeatedField
public PathMatcher.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<PathMatcher.Builder>
-
addRepeatedField
public PathMatcher.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<PathMatcher.Builder>
-
mergeFrom
public PathMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PathMatcher.Builder>
-
mergeFrom
public PathMatcher.Builder mergeFrom(PathMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>
-
mergeFrom
public PathMatcher.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<PathMatcher.Builder>- Throws:
IOException
-
getRuleCase
public PathMatcher.RuleCase getRuleCase()
- Specified by:
getRuleCasein interfacePathMatcherOrBuilder
-
clearRule
public PathMatcher.Builder clearRule()
-
hasPath
public boolean hasPath()
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }- Specified by:
hasPathin interfacePathMatcherOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public StringMatcher getPath()
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }- Specified by:
getPathin interfacePathMatcherOrBuilder- Returns:
- The path.
-
setPath
public PathMatcher.Builder setPath(StringMatcher value)
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }
-
setPath
public PathMatcher.Builder setPath(StringMatcher.Builder builderForValue)
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }
-
mergePath
public PathMatcher.Builder mergePath(StringMatcher value)
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }
-
clearPath
public PathMatcher.Builder clearPath()
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }
-
getPathBuilder
public StringMatcher.Builder getPathBuilder()
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }
-
getPathOrBuilder
public StringMatcherOrBuilder getPathOrBuilder()
The `path` must match the URL path portion of the :path header. The query and fragment string (if present) are removed in the URL path portion. For example, the path */data* will match the *:path* header */data#fragment?param=value*.
.envoy.type.matcher.StringMatcher path = 1 [(.validate.rules) = { ... }- Specified by:
getPathOrBuilderin interfacePathMatcherOrBuilder
-
setUnknownFields
public final PathMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>
-
mergeUnknownFields
public final PathMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>
-
-