public static final class Value.ValueMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder> implements Value.ValueMatcherOrBuilder
Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched.Protobuf type
envoy.type.matcher.ValueMatcher| Modifier and Type | Method and Description |
|---|---|
Value.ValueMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Value.ValueMatcher |
build() |
Value.ValueMatcher |
buildPartial() |
Value.ValueMatcher.Builder |
clear() |
Value.ValueMatcher.Builder |
clearBoolMatch()
If specified, a match occurs if and only if the target value is a bool value and is equal
to this field.
|
Value.ValueMatcher.Builder |
clearDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Value.ValueMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Value.ValueMatcher.Builder |
clearListMatch()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ValueMatcher.Builder |
clearMatchPattern() |
Value.ValueMatcher.Builder |
clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
Value.ValueMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Value.ValueMatcher.Builder |
clearPresentMatch()
If specified, value match will be performed based on whether the path is referring to a
valid primitive value in the metadata.
|
Value.ValueMatcher.Builder |
clearStringMatch()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
Value.ValueMatcher.Builder |
clone() |
boolean |
getBoolMatch()
If specified, a match occurs if and only if the target value is a bool value and is equal
to this field.
|
Value.ValueMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Number.DoubleMatcher |
getDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Number.DoubleMatcher.Builder |
getDoubleMatchBuilder()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Number.DoubleMatcherOrBuilder |
getDoubleMatchOrBuilder()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Value.ListMatcher |
getListMatch()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ListMatcher.Builder |
getListMatchBuilder()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ListMatcherOrBuilder |
getListMatchOrBuilder()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ValueMatcher.MatchPatternCase |
getMatchPatternCase() |
Value.ValueMatcher.NullMatch |
getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
Value.ValueMatcher.NullMatch.Builder |
getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
|
Value.ValueMatcher.NullMatchOrBuilder |
getNullMatchOrBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
|
boolean |
getPresentMatch()
If specified, value match will be performed based on whether the path is referring to a
valid primitive value in the metadata.
|
String.StringMatcher |
getStringMatch()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
String.StringMatcher.Builder |
getStringMatchBuilder()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
String.StringMatcherOrBuilder |
getStringMatchOrBuilder()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
boolean |
hasDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
boolean |
hasListMatch()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
boolean |
hasNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
boolean |
hasStringMatch()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Value.ValueMatcher.Builder |
mergeDoubleMatch(Number.DoubleMatcher value)
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Value.ValueMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Value.ValueMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
Value.ValueMatcher.Builder |
mergeFrom(Value.ValueMatcher other) |
Value.ValueMatcher.Builder |
mergeListMatch(Value.ListMatcher value)
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ValueMatcher.Builder |
mergeNullMatch(Value.ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
|
Value.ValueMatcher.Builder |
mergeStringMatch(String.StringMatcher value)
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
Value.ValueMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Value.ValueMatcher.Builder |
setBoolMatch(boolean value)
If specified, a match occurs if and only if the target value is a bool value and is equal
to this field.
|
Value.ValueMatcher.Builder |
setDoubleMatch(Number.DoubleMatcher.Builder builderForValue)
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Value.ValueMatcher.Builder |
setDoubleMatch(Number.DoubleMatcher value)
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Value.ValueMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Value.ValueMatcher.Builder |
setListMatch(Value.ListMatcher.Builder builderForValue)
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ValueMatcher.Builder |
setListMatch(Value.ListMatcher value)
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
Value.ValueMatcher.Builder |
setNullMatch(Value.ValueMatcher.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.
|
Value.ValueMatcher.Builder |
setNullMatch(Value.ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
|
Value.ValueMatcher.Builder |
setPresentMatch(boolean value)
If specified, value match will be performed based on whether the path is referring to a
valid primitive value in the metadata.
|
Value.ValueMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Value.ValueMatcher.Builder |
setStringMatch(String.StringMatcher.Builder builderForValue)
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
Value.ValueMatcher.Builder |
setStringMatch(String.StringMatcher value)
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
Value.ValueMatcher.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<Value.ValueMatcher.Builder>public Value.ValueMatcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.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<Value.ValueMatcher.Builder>public Value.ValueMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Value.ValueMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Value.ValueMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Value.ValueMatcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder>public Value.ValueMatcher.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<Value.ValueMatcher.Builder>public Value.ValueMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder>public Value.ValueMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder>public Value.ValueMatcher.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<Value.ValueMatcher.Builder>public Value.ValueMatcher.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<Value.ValueMatcher.Builder>public Value.ValueMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Value.ValueMatcher.Builder>public Value.ValueMatcher.Builder mergeFrom(Value.ValueMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder>public Value.ValueMatcher.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<Value.ValueMatcher.Builder>IOExceptionpublic Value.ValueMatcher.MatchPatternCase getMatchPatternCase()
getMatchPatternCase in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder clearMatchPattern()
public boolean hasNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;hasNullMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.NullMatch getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;getNullMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder setNullMatch(Value.ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;public Value.ValueMatcher.Builder setNullMatch(Value.ValueMatcher.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;public Value.ValueMatcher.Builder mergeNullMatch(Value.ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;public Value.ValueMatcher.Builder clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;public Value.ValueMatcher.NullMatch.Builder getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;public Value.ValueMatcher.NullMatchOrBuilder getNullMatchOrBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.ValueMatcher.NullMatch null_match = 1;getNullMatchOrBuilder in interface Value.ValueMatcherOrBuilderpublic boolean hasDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;hasDoubleMatch in interface Value.ValueMatcherOrBuilderpublic Number.DoubleMatcher getDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;getDoubleMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder setDoubleMatch(Number.DoubleMatcher value)
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;public Value.ValueMatcher.Builder setDoubleMatch(Number.DoubleMatcher.Builder builderForValue)
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;public Value.ValueMatcher.Builder mergeDoubleMatch(Number.DoubleMatcher value)
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;public Value.ValueMatcher.Builder clearDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;public Number.DoubleMatcher.Builder getDoubleMatchBuilder()
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;public Number.DoubleMatcherOrBuilder getDoubleMatchOrBuilder()
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
.envoy.type.matcher.DoubleMatcher double_match = 2;getDoubleMatchOrBuilder in interface Value.ValueMatcherOrBuilderpublic boolean hasStringMatch()
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;hasStringMatch in interface Value.ValueMatcherOrBuilderpublic String.StringMatcher getStringMatch()
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;getStringMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder setStringMatch(String.StringMatcher value)
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;public Value.ValueMatcher.Builder setStringMatch(String.StringMatcher.Builder builderForValue)
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;public Value.ValueMatcher.Builder mergeStringMatch(String.StringMatcher value)
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;public Value.ValueMatcher.Builder clearStringMatch()
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;public String.StringMatcher.Builder getStringMatchBuilder()
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;public String.StringMatcherOrBuilder getStringMatchOrBuilder()
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
.envoy.type.matcher.StringMatcher string_match = 3;getStringMatchOrBuilder in interface Value.ValueMatcherOrBuilderpublic boolean getBoolMatch()
If specified, a match occurs if and only if the target value is a bool value and is equal to this field.
bool bool_match = 4;getBoolMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder setBoolMatch(boolean value)
If specified, a match occurs if and only if the target value is a bool value and is equal to this field.
bool bool_match = 4;public Value.ValueMatcher.Builder clearBoolMatch()
If specified, a match occurs if and only if the target value is a bool value and is equal to this field.
bool bool_match = 4;public boolean getPresentMatch()
If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.
bool present_match = 5;getPresentMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder setPresentMatch(boolean value)
If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.
bool present_match = 5;public Value.ValueMatcher.Builder clearPresentMatch()
If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.
bool present_match = 5;public boolean hasListMatch()
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;hasListMatch in interface Value.ValueMatcherOrBuilderpublic Value.ListMatcher getListMatch()
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;getListMatch in interface Value.ValueMatcherOrBuilderpublic Value.ValueMatcher.Builder setListMatch(Value.ListMatcher value)
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;public Value.ValueMatcher.Builder setListMatch(Value.ListMatcher.Builder builderForValue)
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;public Value.ValueMatcher.Builder mergeListMatch(Value.ListMatcher value)
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;public Value.ValueMatcher.Builder clearListMatch()
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;public Value.ListMatcher.Builder getListMatchBuilder()
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;public Value.ListMatcherOrBuilder getListMatchOrBuilder()
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
.envoy.type.matcher.ListMatcher list_match = 6;getListMatchOrBuilder in interface Value.ValueMatcherOrBuilderpublic final Value.ValueMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder>public final Value.ValueMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ValueMatcher.Builder>Copyright © 2018 The Envoy Project. All rights reserved.