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 type
envoy.type.matcher.v3.PathMatcher| Modifier and Type | Method and Description |
|---|---|
PathMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PathMatcher |
build() |
PathMatcher |
buildPartial() |
PathMatcher.Builder |
clear() |
PathMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PathMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PathMatcher.Builder |
clearPath()
The `path` must match the URL path portion of the :path header.
|
PathMatcher.Builder |
clearRule() |
PathMatcher.Builder |
clone() |
PathMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
StringMatcher |
getPath()
The `path` must match the URL path portion of the :path header.
|
StringMatcher.Builder |
getPathBuilder()
The `path` must match the URL path portion of the :path header.
|
StringMatcherOrBuilder |
getPathOrBuilder()
The `path` must match the URL path portion of the :path header.
|
PathMatcher.RuleCase |
getRuleCase() |
boolean |
hasPath()
The `path` must match the URL path portion of the :path header.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PathMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PathMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
PathMatcher.Builder |
mergeFrom(PathMatcher other) |
PathMatcher.Builder |
mergePath(StringMatcher value)
The `path` must match the URL path portion of the :path header.
|
PathMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PathMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PathMatcher.Builder |
setPath(StringMatcher.Builder builderForValue)
The `path` must match the URL path portion of the :path header.
|
PathMatcher.Builder |
setPath(StringMatcher value)
The `path` must match the URL path portion of the :path header.
|
PathMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PathMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PathMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PathMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PathMatcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PathMatcher.Builder>public PathMatcher.Builder mergeFrom(PathMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public PathMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PathMatcher.Builder>IOExceptionpublic PathMatcher.RuleCase getRuleCase()
getRuleCase in interface PathMatcherOrBuilderpublic PathMatcher.Builder clearRule()
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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }hasPath in interface PathMatcherOrBuilderpublic 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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }getPath in interface PathMatcherOrBuilderpublic 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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }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.v3.StringMatcher path = 1 [(.validate.rules) = { ... }getPathOrBuilder in interface PathMatcherOrBuilderpublic final PathMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>public final PathMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PathMatcher.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.