Class ExtensionWithMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
- io.envoyproxy.envoy.extensions.common.matching.v3.ExtensionWithMatcher.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExtensionWithMatcherOrBuilder,Cloneable
- Enclosing class:
- ExtensionWithMatcher
public static final class ExtensionWithMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder> implements ExtensionWithMatcherOrBuilder
Wrapper around an existing extension that provides an associated matcher. This allows decorating an existing extension with a matcher, which can be used to match against relevant protocol data.
Protobuf typeenvoy.extensions.common.matching.v3.ExtensionWithMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExtensionWithMatcher.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExtensionWithMatcherbuild()ExtensionWithMatcherbuildPartial()ExtensionWithMatcher.Builderclear()ExtensionWithMatcher.BuilderclearExtensionConfig()The underlying extension config.ExtensionWithMatcher.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExtensionWithMatcher.BuilderclearMatcher()Deprecated.ExtensionWithMatcher.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExtensionWithMatcher.BuilderclearXdsMatcher()The associated matcher.ExtensionWithMatcher.Builderclone()ExtensionWithMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TypedExtensionConfiggetExtensionConfig()The underlying extension config.TypedExtensionConfig.BuildergetExtensionConfigBuilder()The underlying extension config.TypedExtensionConfigOrBuildergetExtensionConfigOrBuilder()The underlying extension config.MatchergetMatcher()Deprecated.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated.Matcher.BuildergetMatcherBuilder()Deprecated.MatcherOrBuildergetMatcherOrBuilder()Deprecated.MatchergetXdsMatcher()The associated matcher.Matcher.BuildergetXdsMatcherBuilder()The associated matcher.MatcherOrBuildergetXdsMatcherOrBuilder()The associated matcher.booleanhasExtensionConfig()The underlying extension config.booleanhasMatcher()Deprecated.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated.booleanhasXdsMatcher()The associated matcher.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExtensionWithMatcher.BuildermergeExtensionConfig(TypedExtensionConfig value)The underlying extension config.ExtensionWithMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExtensionWithMatcher.BuildermergeFrom(com.google.protobuf.Message other)ExtensionWithMatcher.BuildermergeFrom(ExtensionWithMatcher other)ExtensionWithMatcher.BuildermergeMatcher(Matcher value)Deprecated.ExtensionWithMatcher.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExtensionWithMatcher.BuildermergeXdsMatcher(Matcher value)The associated matcher.ExtensionWithMatcher.BuildersetExtensionConfig(TypedExtensionConfig value)The underlying extension config.ExtensionWithMatcher.BuildersetExtensionConfig(TypedExtensionConfig.Builder builderForValue)The underlying extension config.ExtensionWithMatcher.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExtensionWithMatcher.BuildersetMatcher(Matcher value)Deprecated.ExtensionWithMatcher.BuildersetMatcher(Matcher.Builder builderForValue)Deprecated.ExtensionWithMatcher.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExtensionWithMatcher.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExtensionWithMatcher.BuildersetXdsMatcher(Matcher value)The associated matcher.ExtensionWithMatcher.BuildersetXdsMatcher(Matcher.Builder builderForValue)The associated matcher.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
clear
public ExtensionWithMatcher.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.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.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
getDefaultInstanceForType
public ExtensionWithMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExtensionWithMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExtensionWithMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExtensionWithMatcher.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
setField
public ExtensionWithMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
clearField
public ExtensionWithMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
clearOneof
public ExtensionWithMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
setRepeatedField
public ExtensionWithMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
addRepeatedField
public ExtensionWithMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
mergeFrom
public ExtensionWithMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExtensionWithMatcher.Builder>
-
mergeFrom
public ExtensionWithMatcher.Builder mergeFrom(ExtensionWithMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
mergeFrom
public ExtensionWithMatcher.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<ExtensionWithMatcher.Builder>- Throws:
IOException
-
hasMatcher
@Deprecated public boolean hasMatcher()
Deprecated.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated. See envoy/extensions/common/matching/v3/extension_matcher.proto;l=29The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasMatcherin interfaceExtensionWithMatcherOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
@Deprecated public Matcher getMatcher()
Deprecated.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated. See envoy/extensions/common/matching/v3/extension_matcher.proto;l=29The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getMatcherin interfaceExtensionWithMatcherOrBuilder- Returns:
- The matcher.
-
setMatcher
@Deprecated public ExtensionWithMatcher.Builder setMatcher(Matcher value)
Deprecated.The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setMatcher
@Deprecated public ExtensionWithMatcher.Builder setMatcher(Matcher.Builder builderForValue)
Deprecated.The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeMatcher
@Deprecated public ExtensionWithMatcher.Builder mergeMatcher(Matcher value)
Deprecated.The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearMatcher
@Deprecated public ExtensionWithMatcher.Builder clearMatcher()
Deprecated.The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getMatcherBuilder
@Deprecated public Matcher.Builder getMatcherBuilder()
Deprecated.The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getMatcherOrBuilder
@Deprecated public MatcherOrBuilder getMatcherOrBuilder()
Deprecated.The associated matcher. This is deprecated in favor of xds_matcher.
.envoy.config.common.matcher.v3.Matcher matcher = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getMatcherOrBuilderin interfaceExtensionWithMatcherOrBuilder
-
hasXdsMatcher
public boolean hasXdsMatcher()
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;- Specified by:
hasXdsMatcherin interfaceExtensionWithMatcherOrBuilder- Returns:
- Whether the xdsMatcher field is set.
-
getXdsMatcher
public Matcher getXdsMatcher()
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;- Specified by:
getXdsMatcherin interfaceExtensionWithMatcherOrBuilder- Returns:
- The xdsMatcher.
-
setXdsMatcher
public ExtensionWithMatcher.Builder setXdsMatcher(Matcher value)
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;
-
setXdsMatcher
public ExtensionWithMatcher.Builder setXdsMatcher(Matcher.Builder builderForValue)
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;
-
mergeXdsMatcher
public ExtensionWithMatcher.Builder mergeXdsMatcher(Matcher value)
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;
-
clearXdsMatcher
public ExtensionWithMatcher.Builder clearXdsMatcher()
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;
-
getXdsMatcherBuilder
public Matcher.Builder getXdsMatcherBuilder()
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;
-
getXdsMatcherOrBuilder
public MatcherOrBuilder getXdsMatcherOrBuilder()
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;- Specified by:
getXdsMatcherOrBuilderin interfaceExtensionWithMatcherOrBuilder
-
hasExtensionConfig
public boolean hasExtensionConfig()
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }- Specified by:
hasExtensionConfigin interfaceExtensionWithMatcherOrBuilder- Returns:
- Whether the extensionConfig field is set.
-
getExtensionConfig
public TypedExtensionConfig getExtensionConfig()
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }- Specified by:
getExtensionConfigin interfaceExtensionWithMatcherOrBuilder- Returns:
- The extensionConfig.
-
setExtensionConfig
public ExtensionWithMatcher.Builder setExtensionConfig(TypedExtensionConfig value)
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }
-
setExtensionConfig
public ExtensionWithMatcher.Builder setExtensionConfig(TypedExtensionConfig.Builder builderForValue)
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }
-
mergeExtensionConfig
public ExtensionWithMatcher.Builder mergeExtensionConfig(TypedExtensionConfig value)
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }
-
clearExtensionConfig
public ExtensionWithMatcher.Builder clearExtensionConfig()
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }
-
getExtensionConfigBuilder
public TypedExtensionConfig.Builder getExtensionConfigBuilder()
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }
-
getExtensionConfigOrBuilder
public TypedExtensionConfigOrBuilder getExtensionConfigOrBuilder()
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }- Specified by:
getExtensionConfigOrBuilderin interfaceExtensionWithMatcherOrBuilder
-
setUnknownFields
public final ExtensionWithMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
mergeUnknownFields
public final ExtensionWithMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExtensionWithMatcher.Builder>
-
-