Package com.github.xds.type.matcher.v3
Class Matcher.OnMatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Matcher.OnMatch.Builder>
com.google.protobuf.GeneratedMessage.Builder<Matcher.OnMatch.Builder>
com.github.xds.type.matcher.v3.Matcher.OnMatch.Builder
- All Implemented Interfaces:
Matcher.OnMatchOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
Matcher.OnMatch
public static final class Matcher.OnMatch.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Matcher.OnMatch.Builder>
implements Matcher.OnMatchOrBuilder
What to do if a match is successful.Protobuf type
xds.type.matcher.v3.Matcher.OnMatch-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private intprivate com.google.protobuf.SingleFieldBuilder<Matcher, Matcher.Builder, MatcherOrBuilder> private Objectprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(Matcher.OnMatch result) private voidbuildPartialOneofs(Matcher.OnMatch result) clear()Protocol-specific action to take.Nested matcher to evaluate.Protocol-specific action to take.Protocol-specific action to take.Protocol-specific action to take.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorNested matcher to evaluate.Nested matcher to evaluate.Nested matcher to evaluate.booleanProtocol-specific action to take.booleanNested matcher to evaluate.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> Protocol-specific action to take.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<Matcher, Matcher.Builder, MatcherOrBuilder> Nested matcher to evaluate.final booleanmergeAction(TypedExtensionConfig value) Protocol-specific action to take.mergeFrom(Matcher.OnMatch other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMatcher(Matcher value) Nested matcher to evaluate.setAction(TypedExtensionConfig value) Protocol-specific action to take.setAction(TypedExtensionConfig.Builder builderForValue) Protocol-specific action to take.setMatcher(Matcher value) Nested matcher to evaluate.setMatcher(Matcher.Builder builderForValue) Nested matcher to evaluate.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
onMatchCase_
private int onMatchCase_ -
onMatch_
-
bitField0_
private int bitField0_ -
matcherBuilder_
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, matcherBuilder_MatcherOrBuilder> -
actionBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, actionBuilder_TypedExtensionConfigOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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<Matcher.OnMatch.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<Matcher.OnMatch.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<Matcher.OnMatch.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Matcher.OnMatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Matcher.OnMatch.Builder>
-
mergeFrom
public Matcher.OnMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Matcher.OnMatch.Builder>- Throws:
IOException
-
getOnMatchCase
- Specified by:
getOnMatchCasein interfaceMatcher.OnMatchOrBuilder
-
clearOnMatch
-
hasMatcher
public boolean hasMatcher()Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1;- Specified by:
hasMatcherin interfaceMatcher.OnMatchOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1;- Specified by:
getMatcherin interfaceMatcher.OnMatchOrBuilder- Returns:
- The matcher.
-
setMatcher
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1; -
setMatcher
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1; -
mergeMatcher
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1; -
clearMatcher
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1; -
getMatcherBuilder
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1; -
getMatcherOrBuilder
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1;- Specified by:
getMatcherOrBuilderin interfaceMatcher.OnMatchOrBuilder
-
internalGetMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, internalGetMatcherFieldBuilder()MatcherOrBuilder> Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1; -
hasAction
public boolean hasAction()Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;- Specified by:
hasActionin interfaceMatcher.OnMatchOrBuilder- Returns:
- Whether the action field is set.
-
getAction
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;- Specified by:
getActionin interfaceMatcher.OnMatchOrBuilder- Returns:
- The action.
-
setAction
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2; -
setAction
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2; -
mergeAction
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2; -
clearAction
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2; -
getActionBuilder
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2; -
getActionOrBuilder
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;- Specified by:
getActionOrBuilderin interfaceMatcher.OnMatchOrBuilder
-
internalGetActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetActionFieldBuilder()TypedExtensionConfigOrBuilder> Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;
-