public static final class MetadataMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder> implements MetadataMatcherOrBuilder
[#next-major-version: MetadataMatcher should use StructMatcher]Protobuf type
envoy.type.matcher.v4alpha.MetadataMatcher| Modifier and Type | Method and Description |
|---|---|
MetadataMatcher.Builder |
addAllPath(Iterable<? extends MetadataMatcher.PathSegment> values)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
addPath(int index,
MetadataMatcher.PathSegment.Builder builderForValue)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
addPath(int index,
MetadataMatcher.PathSegment value)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
addPath(MetadataMatcher.PathSegment.Builder builderForValue)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
addPath(MetadataMatcher.PathSegment value)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.PathSegment.Builder |
addPathBuilder()
The path to retrieve the Value from the Struct.
|
MetadataMatcher.PathSegment.Builder |
addPathBuilder(int index)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetadataMatcher |
build() |
MetadataMatcher |
buildPartial() |
MetadataMatcher.Builder |
clear() |
MetadataMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MetadataMatcher.Builder |
clearFilter()
The filter name to retrieve the Struct from the Metadata.
|
MetadataMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetadataMatcher.Builder |
clearPath()
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
clearValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
MetadataMatcher.Builder |
clone() |
MetadataMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
The filter name to retrieve the Struct from the Metadata.
|
com.google.protobuf.ByteString |
getFilterBytes()
The filter name to retrieve the Struct from the Metadata.
|
MetadataMatcher.PathSegment |
getPath(int index)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.PathSegment.Builder |
getPathBuilder(int index)
The path to retrieve the Value from the Struct.
|
List<MetadataMatcher.PathSegment.Builder> |
getPathBuilderList()
The path to retrieve the Value from the Struct.
|
int |
getPathCount()
The path to retrieve the Value from the Struct.
|
List<MetadataMatcher.PathSegment> |
getPathList()
The path to retrieve the Value from the Struct.
|
MetadataMatcher.PathSegmentOrBuilder |
getPathOrBuilder(int index)
The path to retrieve the Value from the Struct.
|
List<? extends MetadataMatcher.PathSegmentOrBuilder> |
getPathOrBuilderList()
The path to retrieve the Value from the Struct.
|
ValueMatcher |
getValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
ValueMatcher.Builder |
getValueBuilder()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
ValueMatcherOrBuilder |
getValueOrBuilder()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
boolean |
hasValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetadataMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetadataMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetadataMatcher.Builder |
mergeFrom(MetadataMatcher other) |
MetadataMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetadataMatcher.Builder |
mergeValue(ValueMatcher value)
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
MetadataMatcher.Builder |
removePath(int index)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetadataMatcher.Builder |
setFilter(String value)
The filter name to retrieve the Struct from the Metadata.
|
MetadataMatcher.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
The filter name to retrieve the Struct from the Metadata.
|
MetadataMatcher.Builder |
setPath(int index,
MetadataMatcher.PathSegment.Builder builderForValue)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
setPath(int index,
MetadataMatcher.PathSegment value)
The path to retrieve the Value from the Struct.
|
MetadataMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MetadataMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetadataMatcher.Builder |
setValue(ValueMatcher.Builder builderForValue)
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
MetadataMatcher.Builder |
setValue(ValueMatcher value)
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
|
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<MetadataMatcher.Builder>public MetadataMatcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.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<MetadataMatcher.Builder>public MetadataMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetadataMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetadataMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetadataMatcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder>public MetadataMatcher.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<MetadataMatcher.Builder>public MetadataMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder>public MetadataMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder>public MetadataMatcher.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<MetadataMatcher.Builder>public MetadataMatcher.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<MetadataMatcher.Builder>public MetadataMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetadataMatcher.Builder>public MetadataMatcher.Builder mergeFrom(MetadataMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder>public MetadataMatcher.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<MetadataMatcher.Builder>IOExceptionpublic String getFilter()
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }getFilter in interface MetadataMatcherOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }getFilterBytes in interface MetadataMatcherOrBuilderpublic MetadataMatcher.Builder setFilter(String value)
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }public MetadataMatcher.Builder clearFilter()
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }public MetadataMatcher.Builder setFilterBytes(com.google.protobuf.ByteString value)
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }public List<MetadataMatcher.PathSegment> getPathList()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }getPathList in interface MetadataMatcherOrBuilderpublic int getPathCount()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }getPathCount in interface MetadataMatcherOrBuilderpublic MetadataMatcher.PathSegment getPath(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }getPath in interface MetadataMatcherOrBuilderpublic MetadataMatcher.Builder setPath(int index, MetadataMatcher.PathSegment value)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder setPath(int index, MetadataMatcher.PathSegment.Builder builderForValue)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder addPath(MetadataMatcher.PathSegment value)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder addPath(int index, MetadataMatcher.PathSegment value)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder addPath(MetadataMatcher.PathSegment.Builder builderForValue)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder addPath(int index, MetadataMatcher.PathSegment.Builder builderForValue)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder addAllPath(Iterable<? extends MetadataMatcher.PathSegment> values)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder clearPath()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.Builder removePath(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.PathSegment.Builder getPathBuilder(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.PathSegmentOrBuilder getPathOrBuilder(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }getPathOrBuilder in interface MetadataMatcherOrBuilderpublic List<? extends MetadataMatcher.PathSegmentOrBuilder> getPathOrBuilderList()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }getPathOrBuilderList in interface MetadataMatcherOrBuilderpublic MetadataMatcher.PathSegment.Builder addPathBuilder()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public MetadataMatcher.PathSegment.Builder addPathBuilder(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public List<MetadataMatcher.PathSegment.Builder> getPathBuilderList()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v4alpha.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }public boolean hasValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }hasValue in interface MetadataMatcherOrBuilderpublic ValueMatcher getValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }getValue in interface MetadataMatcherOrBuilderpublic MetadataMatcher.Builder setValue(ValueMatcher value)
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }public MetadataMatcher.Builder setValue(ValueMatcher.Builder builderForValue)
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }public MetadataMatcher.Builder mergeValue(ValueMatcher value)
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }public MetadataMatcher.Builder clearValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }public ValueMatcher.Builder getValueBuilder()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }public ValueMatcherOrBuilder getValueOrBuilder()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v4alpha.ValueMatcher value = 3 [(.validate.rules) = { ... }getValueOrBuilder in interface MetadataMatcherOrBuilderpublic final MetadataMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder>public final MetadataMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataMatcher.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.