Class ExtensionWithMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
envoy.extensions.common.matching.v3.ExtensionWithMatcher-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The underlying extension config.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Deprecated.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The associated matcher.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe underlying extension config.The underlying extension config.The underlying extension config.Deprecated.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated.Deprecated.Deprecated.The associated matcher.The associated matcher.The associated matcher.booleanThe underlying extension config.booleanDeprecated.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated.booleanThe associated matcher.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe underlying extension config.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ExtensionWithMatcher other) mergeMatcher(Matcher value) Deprecated.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeXdsMatcher(Matcher value) The associated matcher.The underlying extension config.setExtensionConfig(TypedExtensionConfig.Builder builderForValue) The underlying extension config.setMatcher(Matcher value) Deprecated.setMatcher(Matcher.Builder builderForValue) Deprecated.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setXdsMatcher(Matcher value) The associated matcher.setXdsMatcher(Matcher.Builder builderForValue) The associated matcher.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
Method Details
-
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
- 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
- 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
-
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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExtensionWithMatcher.Builder>
-
mergeFrom
-
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.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated. See envoy/extensions/common/matching/v3/extension_matcher.proto;l=26The 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.envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher is deprecated. See envoy/extensions/common/matching/v3/extension_matcher.proto;l=26The 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.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.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.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.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.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.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
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3;- Specified by:
getXdsMatcherin interfaceExtensionWithMatcherOrBuilder- Returns:
- The xdsMatcher.
-
setXdsMatcher
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3; -
setXdsMatcher
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3; -
mergeXdsMatcher
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3; -
clearXdsMatcher
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3; -
getXdsMatcherBuilder
The associated matcher.
.xds.type.matcher.v3.Matcher xds_matcher = 3; -
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
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... }- Specified by:
getExtensionConfigin interfaceExtensionWithMatcherOrBuilder- Returns:
- The extensionConfig.
-
setExtensionConfig
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
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... } -
clearExtensionConfig
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... } -
getExtensionConfigBuilder
The underlying extension config.
.envoy.config.core.v3.TypedExtensionConfig extension_config = 2 [(.validate.rules) = { ... } -
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>
-