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 int
bitField0_
private com.google.protobuf.SingleFieldBuilder<DoubleMatcher,DoubleMatcher.Builder,DoubleMatcherOrBuilder>
doubleMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<ListMatcher,ListMatcher.Builder,ListMatcherOrBuilder>
listMatchBuilder_
private java.lang.Object
matchPattern_
private int
matchPatternCase_
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 ValueMatcher
build()
ValueMatcher
buildPartial()
private void
buildPartial0(ValueMatcher result)
private void
buildPartialOneofs(ValueMatcher result)
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
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
clearOrMatch()
If specified, a match occurs if and only if any of the alternatives in the match accept the 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.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.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.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.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.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.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.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.NullMatchOrBuilder
getNullMatchOrBuilder()
If specified, a match occurs if and only if the target value is a NullValue.OrMatcher
getOrMatch()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.OrMatcher.Builder
getOrMatchBuilder()
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.OrMatcherOrBuilder
getOrMatchOrBuilder()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.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.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.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
hasBoolMatch()
If specified, a match occurs if and only if the target value is a bool value and is equal 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
hasOrMatch()
If specified, a match occurs if and only if any of the alternatives in the match accept the value.boolean
hasPresentMatch()
If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata.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.GeneratedMessage.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
mergeOrMatch(OrMatcher value)
If specified, a match occurs if and only if any of the alternatives in the match accept the value.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
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 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
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
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
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
setNullMatch(ValueMatcher.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.Builder
setNullMatch(ValueMatcher.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.ValueMatcher.Builder
setOrMatch(OrMatcher value)
If specified, a match occurs if and only if any of the alternatives in the match accept the value.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.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
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
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.-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ValueMatcher.Builder>
-
clear
public ValueMatcher.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ValueMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ValueMatcher.Builder>
-
getDefaultInstanceForType
public ValueMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueMatcher build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueMatcher buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValueMatcher.Builder>
-
mergeFrom
public ValueMatcher.Builder mergeFrom(ValueMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValueMatcher.Builder>
- Throws:
java.io.IOException
-
getMatchPatternCase
public ValueMatcher.MatchPatternCase getMatchPatternCase()
- Specified by:
getMatchPatternCase
in 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:
hasNullMatch
in 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:
getNullMatch
in 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:
getNullMatchOrBuilder
in 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:
hasDoubleMatch
in 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:
getDoubleMatch
in 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:
getDoubleMatchOrBuilder
in 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:
hasStringMatch
in 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:
getStringMatch
in 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:
getStringMatchOrBuilder
in 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:
hasBoolMatch
in 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:
getBoolMatch
in 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:
hasPresentMatch
in 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:
getPresentMatch
in 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:
hasListMatch
in 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:
getListMatch
in 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:
getListMatchOrBuilder
in 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:
hasOrMatch
in 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:
getOrMatch
in 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:
getOrMatchOrBuilder
in 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;
-
-