public static final class RateLimit.Action.DynamicMetaData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder> implements RateLimit.Action.DynamicMetaDataOrBuilder
The following descriptor entry is appended when the
:ref:`dynamic metadata <well_known_dynamic_metadata>` contains a key value:
.. code-block:: cpp
("<descriptor_key>", "<value_queried_from_dynamic_metadata>")
.. attention::
This action has been deprecated in favor of the :ref:`metadata <envoy_api_msg_config.route.v3.RateLimit.Action.MetaData>` action
Protobuf type envoy.config.route.v3.RateLimit.Action.DynamicMetaData| Modifier and Type | Method and Description |
|---|---|
RateLimit.Action.DynamicMetaData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimit.Action.DynamicMetaData |
build() |
RateLimit.Action.DynamicMetaData |
buildPartial() |
RateLimit.Action.DynamicMetaData.Builder |
clear() |
RateLimit.Action.DynamicMetaData.Builder |
clearDefaultValue()
An optional value to use if *metadata_key* is empty.
|
RateLimit.Action.DynamicMetaData.Builder |
clearDescriptorKey()
The key to use in the descriptor entry.
|
RateLimit.Action.DynamicMetaData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimit.Action.DynamicMetaData.Builder |
clearMetadataKey()
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.DynamicMetaData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimit.Action.DynamicMetaData.Builder |
clone() |
RateLimit.Action.DynamicMetaData |
getDefaultInstanceForType() |
String |
getDefaultValue()
An optional value to use if *metadata_key* is empty.
|
com.google.protobuf.ByteString |
getDefaultValueBytes()
An optional value to use if *metadata_key* is empty.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDescriptorKey()
The key to use in the descriptor entry.
|
com.google.protobuf.ByteString |
getDescriptorKeyBytes()
The key to use in the descriptor entry.
|
MetadataKey |
getMetadataKey()
Metadata struct that defines the key and path to retrieve the string value.
|
MetadataKey.Builder |
getMetadataKeyBuilder()
Metadata struct that defines the key and path to retrieve the string value.
|
MetadataKeyOrBuilder |
getMetadataKeyOrBuilder()
Metadata struct that defines the key and path to retrieve the string value.
|
boolean |
hasMetadataKey()
Metadata struct that defines the key and path to retrieve the string value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RateLimit.Action.DynamicMetaData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimit.Action.DynamicMetaData.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimit.Action.DynamicMetaData.Builder |
mergeFrom(RateLimit.Action.DynamicMetaData other) |
RateLimit.Action.DynamicMetaData.Builder |
mergeMetadataKey(MetadataKey value)
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.DynamicMetaData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimit.Action.DynamicMetaData.Builder |
setDefaultValue(String value)
An optional value to use if *metadata_key* is empty.
|
RateLimit.Action.DynamicMetaData.Builder |
setDefaultValueBytes(com.google.protobuf.ByteString value)
An optional value to use if *metadata_key* is empty.
|
RateLimit.Action.DynamicMetaData.Builder |
setDescriptorKey(String value)
The key to use in the descriptor entry.
|
RateLimit.Action.DynamicMetaData.Builder |
setDescriptorKeyBytes(com.google.protobuf.ByteString value)
The key to use in the descriptor entry.
|
RateLimit.Action.DynamicMetaData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimit.Action.DynamicMetaData.Builder |
setMetadataKey(MetadataKey.Builder builderForValue)
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.DynamicMetaData.Builder |
setMetadataKey(MetadataKey value)
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.DynamicMetaData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimit.Action.DynamicMetaData.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<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.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<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimit.Action.DynamicMetaData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimit.Action.DynamicMetaData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimit.Action.DynamicMetaData.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.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<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.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<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.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<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.Builder mergeFrom(RateLimit.Action.DynamicMetaData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder>public RateLimit.Action.DynamicMetaData.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<RateLimit.Action.DynamicMetaData.Builder>IOExceptionpublic String getDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }getDescriptorKey in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic com.google.protobuf.ByteString getDescriptorKeyBytes()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }getDescriptorKeyBytes in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic RateLimit.Action.DynamicMetaData.Builder setDescriptorKey(String value)
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }public RateLimit.Action.DynamicMetaData.Builder clearDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }public RateLimit.Action.DynamicMetaData.Builder setDescriptorKeyBytes(com.google.protobuf.ByteString value)
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }public boolean hasMetadataKey()
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }hasMetadataKey in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic MetadataKey getMetadataKey()
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }getMetadataKey in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic RateLimit.Action.DynamicMetaData.Builder setMetadataKey(MetadataKey value)
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public RateLimit.Action.DynamicMetaData.Builder setMetadataKey(MetadataKey.Builder builderForValue)
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public RateLimit.Action.DynamicMetaData.Builder mergeMetadataKey(MetadataKey value)
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public RateLimit.Action.DynamicMetaData.Builder clearMetadataKey()
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public MetadataKey.Builder getMetadataKeyBuilder()
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public MetadataKeyOrBuilder getMetadataKeyOrBuilder()
Metadata struct that defines the key and path to retrieve the string value. A match will only happen if the value in the dynamic metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }getMetadataKeyOrBuilder in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic String getDefaultValue()
An optional value to use if *metadata_key* is empty. If not set and no value is present under the metadata_key then no descriptor is generated.
string default_value = 3;getDefaultValue in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic com.google.protobuf.ByteString getDefaultValueBytes()
An optional value to use if *metadata_key* is empty. If not set and no value is present under the metadata_key then no descriptor is generated.
string default_value = 3;getDefaultValueBytes in interface RateLimit.Action.DynamicMetaDataOrBuilderpublic RateLimit.Action.DynamicMetaData.Builder setDefaultValue(String value)
An optional value to use if *metadata_key* is empty. If not set and no value is present under the metadata_key then no descriptor is generated.
string default_value = 3;public RateLimit.Action.DynamicMetaData.Builder clearDefaultValue()
An optional value to use if *metadata_key* is empty. If not set and no value is present under the metadata_key then no descriptor is generated.
string default_value = 3;public RateLimit.Action.DynamicMetaData.Builder setDefaultValueBytes(com.google.protobuf.ByteString value)
An optional value to use if *metadata_key* is empty. If not set and no value is present under the metadata_key then no descriptor is generated.
string default_value = 3;public final RateLimit.Action.DynamicMetaData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder>public final RateLimit.Action.DynamicMetaData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.DynamicMetaData.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.