public static final class ValueMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueMatcher.Builder> implements ValueMatcherOrBuilder
Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 7]Protobuf type
envoy.type.matcher.v4alpha.ValueMatcher| Modifier and Type | Method and Description |
|---|---|
ValueMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ValueMatcher |
build() |
ValueMatcher |
buildPartial() |
ValueMatcher.Builder |
clear() |
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.
|
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.
|
ValueMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.
|
ValueMatcher.Builder |
clearMatchPattern() |
ValueMatcher.Builder |
clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
ValueMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.
|
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.
|
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.
|
ValueMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DoubleMatcher |
getDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
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.
|
DoubleMatcherOrBuilder |
getDoubleMatchOrBuilder()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
ListMatcher |
getListMatch()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
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.
|
ListMatcherOrBuilder |
getListMatchOrBuilder()
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
ValueMatcher.MatchPatternCase |
getMatchPatternCase() |
ValueMatcher.NullMatch |
getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
ValueMatcher.NullMatch.Builder |
getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
|
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.
|
StringMatcher |
getStringMatch()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
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.
|
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() |
ValueMatcher.Builder |
mergeDoubleMatch(DoubleMatcher value)
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
ValueMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ValueMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
ValueMatcher.Builder |
mergeFrom(ValueMatcher other) |
ValueMatcher.Builder |
mergeListMatch(ListMatcher value)
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
ValueMatcher.Builder |
mergeNullMatch(ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
|
ValueMatcher.Builder |
mergeStringMatch(StringMatcher value)
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
ValueMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
ValueMatcher.Builder |
setDoubleMatch(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.
|
ValueMatcher.Builder |
setDoubleMatch(DoubleMatcher value)
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
ValueMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ValueMatcher.Builder |
setListMatch(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.
|
ValueMatcher.Builder |
setListMatch(ListMatcher value)
If specified, a match occurs if and only if the target value is a list value and
is matched to this field.
|
ValueMatcher.Builder |
setNullMatch(ValueMatcher.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.
|
ValueMatcher.Builder |
setNullMatch(ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
|
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.
|
ValueMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ValueMatcher.Builder |
setStringMatch(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.
|
ValueMatcher.Builder |
setStringMatch(StringMatcher value)
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
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<ValueMatcher.Builder>public 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<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<ValueMatcher.Builder>public ValueMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ValueMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ValueMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<ValueMatcher.Builder>public 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<ValueMatcher.Builder>public ValueMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueMatcher.Builder>public ValueMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ValueMatcher.Builder>public 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<ValueMatcher.Builder>public 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<ValueMatcher.Builder>public ValueMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValueMatcher.Builder>public ValueMatcher.Builder mergeFrom(ValueMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ValueMatcher.Builder>public 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<ValueMatcher.Builder>IOExceptionpublic ValueMatcher.MatchPatternCase getMatchPatternCase()
getMatchPatternCase in interface ValueMatcherOrBuilderpublic ValueMatcher.Builder clearMatchPattern()
public boolean hasNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;hasNullMatch in interface ValueMatcherOrBuilderpublic ValueMatcher.NullMatch getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;getNullMatch in interface ValueMatcherOrBuilderpublic ValueMatcher.Builder setNullMatch(ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;public ValueMatcher.Builder setNullMatch(ValueMatcher.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;public ValueMatcher.Builder mergeNullMatch(ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;public ValueMatcher.Builder clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;public ValueMatcher.NullMatch.Builder getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;public ValueMatcher.NullMatchOrBuilder getNullMatchOrBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v4alpha.ValueMatcher.NullMatch null_match = 1;getNullMatchOrBuilder in interface 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.v4alpha.DoubleMatcher double_match = 2;hasDoubleMatch in interface ValueMatcherOrBuilderpublic 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.v4alpha.DoubleMatcher double_match = 2;getDoubleMatch in interface ValueMatcherOrBuilderpublic ValueMatcher.Builder setDoubleMatch(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.v4alpha.DoubleMatcher double_match = 2;public ValueMatcher.Builder setDoubleMatch(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.v4alpha.DoubleMatcher double_match = 2;public ValueMatcher.Builder mergeDoubleMatch(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.v4alpha.DoubleMatcher double_match = 2;public 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.v4alpha.DoubleMatcher double_match = 2;public 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.v4alpha.DoubleMatcher double_match = 2;public 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.v4alpha.DoubleMatcher double_match = 2;getDoubleMatchOrBuilder in interface 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.v4alpha.StringMatcher string_match = 3;hasStringMatch in interface ValueMatcherOrBuilderpublic 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.v4alpha.StringMatcher string_match = 3;getStringMatch in interface ValueMatcherOrBuilderpublic ValueMatcher.Builder setStringMatch(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.v4alpha.StringMatcher string_match = 3;public ValueMatcher.Builder setStringMatch(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.v4alpha.StringMatcher string_match = 3;public ValueMatcher.Builder mergeStringMatch(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.v4alpha.StringMatcher string_match = 3;public 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.v4alpha.StringMatcher string_match = 3;public 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.v4alpha.StringMatcher string_match = 3;public 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.v4alpha.StringMatcher string_match = 3;getStringMatchOrBuilder in interface 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 ValueMatcherOrBuilderpublic 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 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 ValueMatcherOrBuilderpublic 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 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.v4alpha.ListMatcher list_match = 6;hasListMatch in interface ValueMatcherOrBuilderpublic 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.v4alpha.ListMatcher list_match = 6;getListMatch in interface ValueMatcherOrBuilderpublic ValueMatcher.Builder setListMatch(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.v4alpha.ListMatcher list_match = 6;public ValueMatcher.Builder setListMatch(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.v4alpha.ListMatcher list_match = 6;public ValueMatcher.Builder mergeListMatch(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.v4alpha.ListMatcher list_match = 6;public 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.v4alpha.ListMatcher list_match = 6;public 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.v4alpha.ListMatcher list_match = 6;public 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.v4alpha.ListMatcher list_match = 6;getListMatchOrBuilder in interface ValueMatcherOrBuilderpublic final ValueMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueMatcher.Builder>public final ValueMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueMatcher.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.