public static final class RateLimit.Action.MetaData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.MetaData.Builder> implements RateLimit.Action.MetaDataOrBuilder
The following descriptor entry is appended when the metadata contains a key value:
.. code-block:: cpp
("<descriptor_key>", "<value_queried_from_metadata>")
Protobuf type envoy.config.route.v4alpha.RateLimit.Action.MetaData| Modifier and Type | Method and Description |
|---|---|
RateLimit.Action.MetaData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimit.Action.MetaData |
build() |
RateLimit.Action.MetaData |
buildPartial() |
RateLimit.Action.MetaData.Builder |
clear() |
RateLimit.Action.MetaData.Builder |
clearDefaultValue()
An optional value to use if *metadata_key* is empty.
|
RateLimit.Action.MetaData.Builder |
clearDescriptorKey()
The key to use in the descriptor entry.
|
RateLimit.Action.MetaData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimit.Action.MetaData.Builder |
clearMetadataKey()
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.MetaData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimit.Action.MetaData.Builder |
clearSource()
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... } |
RateLimit.Action.MetaData.Builder |
clone() |
RateLimit.Action.MetaData |
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.
|
RateLimit.Action.MetaData.Source |
getSource()
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... } |
int |
getSourceValue()
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... } |
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.MetaData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimit.Action.MetaData.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimit.Action.MetaData.Builder |
mergeFrom(RateLimit.Action.MetaData other) |
RateLimit.Action.MetaData.Builder |
mergeMetadataKey(MetadataKey value)
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.MetaData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimit.Action.MetaData.Builder |
setDefaultValue(String value)
An optional value to use if *metadata_key* is empty.
|
RateLimit.Action.MetaData.Builder |
setDefaultValueBytes(com.google.protobuf.ByteString value)
An optional value to use if *metadata_key* is empty.
|
RateLimit.Action.MetaData.Builder |
setDescriptorKey(String value)
The key to use in the descriptor entry.
|
RateLimit.Action.MetaData.Builder |
setDescriptorKeyBytes(com.google.protobuf.ByteString value)
The key to use in the descriptor entry.
|
RateLimit.Action.MetaData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimit.Action.MetaData.Builder |
setMetadataKey(MetadataKey.Builder builderForValue)
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.MetaData.Builder |
setMetadataKey(MetadataKey value)
Metadata struct that defines the key and path to retrieve the string value.
|
RateLimit.Action.MetaData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimit.Action.MetaData.Builder |
setSource(RateLimit.Action.MetaData.Source value)
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... } |
RateLimit.Action.MetaData.Builder |
setSourceValue(int value)
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... } |
RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimit.Action.MetaData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimit.Action.MetaData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.Builder>public RateLimit.Action.MetaData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimit.Action.MetaData.Builder>public RateLimit.Action.MetaData.Builder mergeFrom(RateLimit.Action.MetaData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.MetaData.Builder>public RateLimit.Action.MetaData.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.MetaData.Builder>IOExceptionpublic String getDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }getDescriptorKey in interface RateLimit.Action.MetaDataOrBuilderpublic com.google.protobuf.ByteString getDescriptorKeyBytes()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }getDescriptorKeyBytes in interface RateLimit.Action.MetaDataOrBuilderpublic RateLimit.Action.MetaData.Builder setDescriptorKey(String value)
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.Builder clearDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.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 metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }hasMetadataKey in interface RateLimit.Action.MetaDataOrBuilderpublic 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 metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }getMetadataKey in interface RateLimit.Action.MetaDataOrBuilderpublic RateLimit.Action.MetaData.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 metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.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 metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.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 metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.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 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 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 metadata is of type string.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2 [(.validate.rules) = { ... }getMetadataKeyOrBuilder in interface RateLimit.Action.MetaDataOrBuilderpublic 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.MetaDataOrBuilderpublic 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.MetaDataOrBuilderpublic RateLimit.Action.MetaData.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.MetaData.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.MetaData.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 int getSourceValue()
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... }getSourceValue in interface RateLimit.Action.MetaDataOrBuilderpublic RateLimit.Action.MetaData.Builder setSourceValue(int value)
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.Source getSource()
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... }getSource in interface RateLimit.Action.MetaDataOrBuilderpublic RateLimit.Action.MetaData.Builder setSource(RateLimit.Action.MetaData.Source value)
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... }public RateLimit.Action.MetaData.Builder clearSource()
Source of metadata
.envoy.config.route.v4alpha.RateLimit.Action.MetaData.Source source = 4 [(.validate.rules) = { ... }public final RateLimit.Action.MetaData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.MetaData.Builder>public final RateLimit.Action.MetaData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.MetaData.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.