Interface RateLimit.Action.DynamicMetaDataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RateLimit.Action.DynamicMetaData,RateLimit.Action.DynamicMetaData.Builder
- Enclosing class:
- RateLimit.Action
public static interface RateLimit.Action.DynamicMetaDataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultValue()An optional value to use if ``metadata_key`` is empty.com.google.protobuf.ByteStringgetDefaultValueBytes()An optional value to use if ``metadata_key`` is empty.StringgetDescriptorKey()The key to use in the descriptor entry.com.google.protobuf.ByteStringgetDescriptorKeyBytes()The key to use in the descriptor entry.MetadataKeygetMetadataKey()Metadata struct that defines the key and path to retrieve the string value.MetadataKeyOrBuildergetMetadataKeyOrBuilder()Metadata struct that defines the key and path to retrieve the string value.booleanhasMetadataKey()Metadata struct that defines the key and path to retrieve the string value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptorKey
String getDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }- Returns:
- The descriptorKey.
-
getDescriptorKeyBytes
com.google.protobuf.ByteString getDescriptorKeyBytes()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for descriptorKey.
-
hasMetadataKey
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) = { ... }- Returns:
- Whether the metadataKey field is set.
-
getMetadataKey
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) = { ... }- Returns:
- The metadataKey.
-
getMetadataKeyOrBuilder
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) = { ... }
-
getDefaultValue
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;- Returns:
- The defaultValue.
-
getDefaultValueBytes
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;- Returns:
- The bytes for defaultValue.
-
-