public static final class Metadata.MetadataMatcher.Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder> implements Metadata.MetadataMatcher.ValueOrBuilder
Specifies the value to match. Only primitive value are supported. For non-primitive values, the result is always not matched.Protobuf type
envoy.type.matcher.MetadataMatcher.Value| Modifier and Type | Method and Description |
|---|---|
Metadata.MetadataMatcher.Value.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metadata.MetadataMatcher.Value |
build() |
Metadata.MetadataMatcher.Value |
buildPartial() |
Metadata.MetadataMatcher.Value.Builder |
clear() |
Metadata.MetadataMatcher.Value.Builder |
clearBoolMatch()
If specified, a match occurs if and only if the target value is a bool value and is equal
to this field.
|
Metadata.MetadataMatcher.Value.Builder |
clearDoubleMatch()
If specified, a match occurs if and only if the target value is a double value and is
matched to this field.
|
Metadata.MetadataMatcher.Value.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metadata.MetadataMatcher.Value.Builder |
clearMatchPattern() |
Metadata.MetadataMatcher.Value.Builder |
clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
Metadata.MetadataMatcher.Value.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metadata.MetadataMatcher.Value.Builder |
clearPresentMatch()
If specified, value match will be performed based on whether the path is referring to a
valid primitive value in the metadata.
|
Metadata.MetadataMatcher.Value.Builder |
clearStringMatch()
If specified, a match occurs if and only if the target value is a string value and is
matched to this field.
|
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value |
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.
|
Metadata.MetadataMatcher.Value.MatchPatternCase |
getMatchPatternCase() |
Metadata.MetadataMatcher.Value.NullMatch |
getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
|
Metadata.MetadataMatcher.Value.NullMatch.Builder |
getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
|
Metadata.MetadataMatcher.Value.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 |
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() |
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metadata.MetadataMatcher.Value.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metadata.MetadataMatcher.Value.Builder |
mergeFrom(Metadata.MetadataMatcher.Value other) |
Metadata.MetadataMatcher.Value.Builder |
mergeNullMatch(Metadata.MetadataMatcher.Value.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
|
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metadata.MetadataMatcher.Value.Builder |
setNullMatch(Metadata.MetadataMatcher.Value.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.
|
Metadata.MetadataMatcher.Value.Builder |
setNullMatch(Metadata.MetadataMatcher.Value.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
|
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.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.
|
Metadata.MetadataMatcher.Value.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<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.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<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Metadata.MetadataMatcher.Value build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Metadata.MetadataMatcher.Value buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Metadata.MetadataMatcher.Value.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.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<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.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<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.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<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.Builder mergeFrom(Metadata.MetadataMatcher.Value other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder>public Metadata.MetadataMatcher.Value.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<Metadata.MetadataMatcher.Value.Builder>IOExceptionpublic Metadata.MetadataMatcher.Value.MatchPatternCase getMatchPatternCase()
getMatchPatternCase in interface Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.Builder clearMatchPattern()
public boolean hasNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;hasNullMatch in interface Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.NullMatch getNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;getNullMatch in interface Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.Builder setNullMatch(Metadata.MetadataMatcher.Value.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;public Metadata.MetadataMatcher.Value.Builder setNullMatch(Metadata.MetadataMatcher.Value.NullMatch.Builder builderForValue)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;public Metadata.MetadataMatcher.Value.Builder mergeNullMatch(Metadata.MetadataMatcher.Value.NullMatch value)
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;public Metadata.MetadataMatcher.Value.Builder clearNullMatch()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;public Metadata.MetadataMatcher.Value.NullMatch.Builder getNullMatchBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;public Metadata.MetadataMatcher.Value.NullMatchOrBuilder getNullMatchOrBuilder()
If specified, a match occurs if and only if the target value is a NullValue.
.envoy.type.matcher.MetadataMatcher.Value.NullMatch null_match = 1;getNullMatchOrBuilder in interface Metadata.MetadataMatcher.ValueOrBuilderpublic 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 Metadata.MetadataMatcher.ValueOrBuilderpublic 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 Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.ValueOrBuilderpublic 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 Metadata.MetadataMatcher.ValueOrBuilderpublic 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 Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.ValueOrBuilderpublic 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 Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.ValueOrBuilderpublic Metadata.MetadataMatcher.Value.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 Metadata.MetadataMatcher.Value.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 final Metadata.MetadataMatcher.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder>public final Metadata.MetadataMatcher.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.MetadataMatcher.Value.Builder>Copyright © 2018 The Envoy Project. All rights reserved.