Class ValueMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ValueMatcher.Builder>
-
- io.envoyproxy.envoy.type.matcher.v3.ValueMatcher.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ValueMatcherOrBuilder,java.lang.Cloneable
- Enclosing class:
- ValueMatcher
public static final class ValueMatcher.Builder extends com.google.protobuf.GeneratedMessage.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: 8]
Protobuf typeenvoy.type.matcher.v3.ValueMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.SingleFieldBuilder<DoubleMatcher,DoubleMatcher.Builder,DoubleMatcherOrBuilder>doubleMatchBuilder_private com.google.protobuf.SingleFieldBuilder<ListMatcher,ListMatcher.Builder,ListMatcherOrBuilder>listMatchBuilder_private java.lang.ObjectmatchPattern_private intmatchPatternCase_private com.google.protobuf.SingleFieldBuilder<ValueMatcher.NullMatch,ValueMatcher.NullMatch.Builder,ValueMatcher.NullMatchOrBuilder>nullMatchBuilder_private com.google.protobuf.SingleFieldBuilder<OrMatcher,OrMatcher.Builder,OrMatcherOrBuilder>orMatchBuilder_private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder>stringMatchBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueMatcherbuild()ValueMatcherbuildPartial()private voidbuildPartial0(ValueMatcher result)private voidbuildPartialOneofs(ValueMatcher result)ValueMatcher.Builderclear()ValueMatcher.BuilderclearBoolMatch()If specified, a match occurs if and only if the target value is a bool value and is equal to this field.ValueMatcher.BuilderclearDoubleMatch()If specified, a match occurs if and only if the target value is a double value and is matched to this field.ValueMatcher.BuilderclearListMatch()If specified, a match occurs if and only if the target value is a list value and is matched to this field.ValueMatcher.BuilderclearMatchPattern()ValueMatcher.BuilderclearNullMatch()If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.BuilderclearOrMatch()If specified, a match occurs if and only if any of the alternatives in the match accept the value.ValueMatcher.BuilderclearPresentMatch()If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata.ValueMatcher.BuilderclearStringMatch()If specified, a match occurs if and only if the target value is a string value and is matched to this field.booleangetBoolMatch()If specified, a match occurs if and only if the target value is a bool value and is equal to this field.ValueMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DoubleMatchergetDoubleMatch()If specified, a match occurs if and only if the target value is a double value and is matched to this field.DoubleMatcher.BuildergetDoubleMatchBuilder()If specified, a match occurs if and only if the target value is a double value and is matched to this field.private com.google.protobuf.SingleFieldBuilder<DoubleMatcher,DoubleMatcher.Builder,DoubleMatcherOrBuilder>getDoubleMatchFieldBuilder()If specified, a match occurs if and only if the target value is a double value and is matched to this field.DoubleMatcherOrBuildergetDoubleMatchOrBuilder()If specified, a match occurs if and only if the target value is a double value and is matched to this field.ListMatchergetListMatch()If specified, a match occurs if and only if the target value is a list value and is matched to this field.ListMatcher.BuildergetListMatchBuilder()If specified, a match occurs if and only if the target value is a list value and is matched to this field.private com.google.protobuf.SingleFieldBuilder<ListMatcher,ListMatcher.Builder,ListMatcherOrBuilder>getListMatchFieldBuilder()If specified, a match occurs if and only if the target value is a list value and is matched to this field.ListMatcherOrBuildergetListMatchOrBuilder()If specified, a match occurs if and only if the target value is a list value and is matched to this field.ValueMatcher.MatchPatternCasegetMatchPatternCase()ValueMatcher.NullMatchgetNullMatch()If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.NullMatch.BuildergetNullMatchBuilder()If specified, a match occurs if and only if the target value is a NullValue.private com.google.protobuf.SingleFieldBuilder<ValueMatcher.NullMatch,ValueMatcher.NullMatch.Builder,ValueMatcher.NullMatchOrBuilder>getNullMatchFieldBuilder()If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.NullMatchOrBuildergetNullMatchOrBuilder()If specified, a match occurs if and only if the target value is a NullValue.OrMatchergetOrMatch()If specified, a match occurs if and only if any of the alternatives in the match accept the value.OrMatcher.BuildergetOrMatchBuilder()If specified, a match occurs if and only if any of the alternatives in the match accept the value.private com.google.protobuf.SingleFieldBuilder<OrMatcher,OrMatcher.Builder,OrMatcherOrBuilder>getOrMatchFieldBuilder()If specified, a match occurs if and only if any of the alternatives in the match accept the value.OrMatcherOrBuildergetOrMatchOrBuilder()If specified, a match occurs if and only if any of the alternatives in the match accept the value.booleangetPresentMatch()If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata.StringMatchergetStringMatch()If specified, a match occurs if and only if the target value is a string value and is matched to this field.StringMatcher.BuildergetStringMatchBuilder()If specified, a match occurs if and only if the target value is a string value and is matched to this field.private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder>getStringMatchFieldBuilder()If specified, a match occurs if and only if the target value is a string value and is matched to this field.StringMatcherOrBuildergetStringMatchOrBuilder()If specified, a match occurs if and only if the target value is a string value and is matched to this field.booleanhasBoolMatch()If specified, a match occurs if and only if the target value is a bool value and is equal to this field.booleanhasDoubleMatch()If specified, a match occurs if and only if the target value is a double value and is matched to this field.booleanhasListMatch()If specified, a match occurs if and only if the target value is a list value and is matched to this field.booleanhasNullMatch()If specified, a match occurs if and only if the target value is a NullValue.booleanhasOrMatch()If specified, a match occurs if and only if any of the alternatives in the match accept the value.booleanhasPresentMatch()If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata.booleanhasStringMatch()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.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ValueMatcher.BuildermergeDoubleMatch(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.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ValueMatcher.BuildermergeFrom(com.google.protobuf.Message other)ValueMatcher.BuildermergeFrom(ValueMatcher other)ValueMatcher.BuildermergeListMatch(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.BuildermergeNullMatch(ValueMatcher.NullMatch value)If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.BuildermergeOrMatch(OrMatcher value)If specified, a match occurs if and only if any of the alternatives in the match accept the value.ValueMatcher.BuildermergeStringMatch(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.BuildersetBoolMatch(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.BuildersetDoubleMatch(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.BuildersetDoubleMatch(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.BuildersetListMatch(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.BuildersetListMatch(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.BuildersetNullMatch(ValueMatcher.NullMatch value)If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.BuildersetNullMatch(ValueMatcher.NullMatch.Builder builderForValue)If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.BuildersetOrMatch(OrMatcher value)If specified, a match occurs if and only if any of the alternatives in the match accept the value.ValueMatcher.BuildersetOrMatch(OrMatcher.Builder builderForValue)If specified, a match occurs if and only if any of the alternatives in the match accept the value.ValueMatcher.BuildersetPresentMatch(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.BuildersetStringMatch(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.BuildersetStringMatch(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.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
-
-
-
-
Field Detail
-
matchPatternCase_
private int matchPatternCase_
-
matchPattern_
private java.lang.Object matchPattern_
-
bitField0_
private int bitField0_
-
nullMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<ValueMatcher.NullMatch,ValueMatcher.NullMatch.Builder,ValueMatcher.NullMatchOrBuilder> nullMatchBuilder_
-
doubleMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<DoubleMatcher,DoubleMatcher.Builder,DoubleMatcherOrBuilder> doubleMatchBuilder_
-
stringMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> stringMatchBuilder_
-
listMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<ListMatcher,ListMatcher.Builder,ListMatcherOrBuilder> listMatchBuilder_
-
orMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<OrMatcher,OrMatcher.Builder,OrMatcherOrBuilder> orMatchBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ValueMatcher.Builder>
-
clear
public ValueMatcher.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ValueMatcher.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.GeneratedMessage.Builder<ValueMatcher.Builder>
-
getDefaultInstanceForType
public ValueMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(ValueMatcher result)
-
buildPartialOneofs
private void buildPartialOneofs(ValueMatcher result)
-
mergeFrom
public ValueMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ValueMatcher.Builder>
-
mergeFrom
public ValueMatcher.Builder mergeFrom(ValueMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ValueMatcher.Builder>
-
mergeFrom
public ValueMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ValueMatcher.Builder>- Throws:
java.io.IOException
-
getMatchPatternCase
public ValueMatcher.MatchPatternCase getMatchPatternCase()
- Specified by:
getMatchPatternCasein interfaceValueMatcherOrBuilder
-
clearMatchPattern
public ValueMatcher.Builder clearMatchPattern()
-
hasNullMatch
public boolean hasNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;- Specified by:
hasNullMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the nullMatch field is set.
-
getNullMatch
public ValueMatcher.NullMatch getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;- Specified by:
getNullMatchin interfaceValueMatcherOrBuilder- Returns:
- The nullMatch.
-
setNullMatch
public ValueMatcher.Builder setNullMatch(ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;
-
setNullMatch
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.v3.ValueMatcher.NullMatch null_match = 1;
-
mergeNullMatch
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.v3.ValueMatcher.NullMatch null_match = 1;
-
clearNullMatch
public ValueMatcher.Builder clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;
-
getNullMatchBuilder
public ValueMatcher.NullMatch.Builder getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;
-
getNullMatchOrBuilder
public ValueMatcher.NullMatchOrBuilder getNullMatchOrBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;- Specified by:
getNullMatchOrBuilderin interfaceValueMatcherOrBuilder
-
getNullMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ValueMatcher.NullMatch,ValueMatcher.NullMatch.Builder,ValueMatcher.NullMatchOrBuilder> getNullMatchFieldBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.v3.ValueMatcher.NullMatch null_match = 1;
-
hasDoubleMatch
public 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.v3.DoubleMatcher double_match = 2;- Specified by:
hasDoubleMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the doubleMatch field is set.
-
getDoubleMatch
public 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.v3.DoubleMatcher double_match = 2;- Specified by:
getDoubleMatchin interfaceValueMatcherOrBuilder- Returns:
- The doubleMatch.
-
setDoubleMatch
public 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.v3.DoubleMatcher double_match = 2;
-
setDoubleMatch
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.v3.DoubleMatcher double_match = 2;
-
mergeDoubleMatch
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.v3.DoubleMatcher double_match = 2;
-
clearDoubleMatch
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.v3.DoubleMatcher double_match = 2;
-
getDoubleMatchBuilder
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.v3.DoubleMatcher double_match = 2;
-
getDoubleMatchOrBuilder
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.v3.DoubleMatcher double_match = 2;- Specified by:
getDoubleMatchOrBuilderin interfaceValueMatcherOrBuilder
-
getDoubleMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<DoubleMatcher,DoubleMatcher.Builder,DoubleMatcherOrBuilder> getDoubleMatchFieldBuilder()
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.v3.DoubleMatcher double_match = 2;
-
hasStringMatch
public 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.v3.StringMatcher string_match = 3;- Specified by:
hasStringMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the stringMatch field is set.
-
getStringMatch
public 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.v3.StringMatcher string_match = 3;- Specified by:
getStringMatchin interfaceValueMatcherOrBuilder- Returns:
- The stringMatch.
-
setStringMatch
public 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.v3.StringMatcher string_match = 3;
-
setStringMatch
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.v3.StringMatcher string_match = 3;
-
mergeStringMatch
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.v3.StringMatcher string_match = 3;
-
clearStringMatch
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.v3.StringMatcher string_match = 3;
-
getStringMatchBuilder
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.v3.StringMatcher string_match = 3;
-
getStringMatchOrBuilder
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.v3.StringMatcher string_match = 3;- Specified by:
getStringMatchOrBuilderin interfaceValueMatcherOrBuilder
-
getStringMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> getStringMatchFieldBuilder()
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.v3.StringMatcher string_match = 3;
-
hasBoolMatch
public boolean hasBoolMatch()
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;- Specified by:
hasBoolMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the boolMatch field is set.
-
getBoolMatch
public 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;- Specified by:
getBoolMatchin interfaceValueMatcherOrBuilder- Returns:
- The boolMatch.
-
setBoolMatch
public 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;- Parameters:
value- The boolMatch to set.- Returns:
- This builder for chaining.
-
clearBoolMatch
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;- Returns:
- This builder for chaining.
-
hasPresentMatch
public boolean hasPresentMatch()
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;- Specified by:
hasPresentMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the presentMatch field is set.
-
getPresentMatch
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;- Specified by:
getPresentMatchin interfaceValueMatcherOrBuilder- Returns:
- The presentMatch.
-
setPresentMatch
public 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;- Parameters:
value- The presentMatch to set.- Returns:
- This builder for chaining.
-
clearPresentMatch
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;- Returns:
- This builder for chaining.
-
hasListMatch
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.v3.ListMatcher list_match = 6;- Specified by:
hasListMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the listMatch field is set.
-
getListMatch
public 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.v3.ListMatcher list_match = 6;- Specified by:
getListMatchin interfaceValueMatcherOrBuilder- Returns:
- The listMatch.
-
setListMatch
public 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.v3.ListMatcher list_match = 6;
-
setListMatch
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.v3.ListMatcher list_match = 6;
-
mergeListMatch
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.v3.ListMatcher list_match = 6;
-
clearListMatch
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.v3.ListMatcher list_match = 6;
-
getListMatchBuilder
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.v3.ListMatcher list_match = 6;
-
getListMatchOrBuilder
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.v3.ListMatcher list_match = 6;- Specified by:
getListMatchOrBuilderin interfaceValueMatcherOrBuilder
-
getListMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListMatcher,ListMatcher.Builder,ListMatcherOrBuilder> getListMatchFieldBuilder()
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.v3.ListMatcher list_match = 6;
-
hasOrMatch
public boolean hasOrMatch()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;- Specified by:
hasOrMatchin interfaceValueMatcherOrBuilder- Returns:
- Whether the orMatch field is set.
-
getOrMatch
public OrMatcher getOrMatch()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;- Specified by:
getOrMatchin interfaceValueMatcherOrBuilder- Returns:
- The orMatch.
-
setOrMatch
public ValueMatcher.Builder setOrMatch(OrMatcher value)
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;
-
setOrMatch
public ValueMatcher.Builder setOrMatch(OrMatcher.Builder builderForValue)
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;
-
mergeOrMatch
public ValueMatcher.Builder mergeOrMatch(OrMatcher value)
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;
-
clearOrMatch
public ValueMatcher.Builder clearOrMatch()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;
-
getOrMatchBuilder
public OrMatcher.Builder getOrMatchBuilder()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;
-
getOrMatchOrBuilder
public OrMatcherOrBuilder getOrMatchOrBuilder()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;- Specified by:
getOrMatchOrBuilderin interfaceValueMatcherOrBuilder
-
getOrMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<OrMatcher,OrMatcher.Builder,OrMatcherOrBuilder> getOrMatchFieldBuilder()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
.envoy.type.matcher.v3.OrMatcher or_match = 7;
-
-