Package io.envoyproxy.envoy.api.v2.route
Interface RateLimit.Action.RequestHeadersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RateLimit.Action.RequestHeaders,RateLimit.Action.RequestHeaders.Builder
- Enclosing class:
- RateLimit.Action
public static interface RateLimit.Action.RequestHeadersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe key to use in the descriptor entry.com.google.protobuf.ByteStringThe key to use in the descriptor entry.The header name to be queried from the request headers.com.google.protobuf.ByteStringThe header name to be queried from the request headers.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHeaderName
String getHeaderName()The header name to be queried from the request headers. The header’s value is used to populate the value of the descriptor entry for the descriptor_key.
string header_name = 1 [(.validate.rules) = { ... }- Returns:
- The headerName.
-
getHeaderNameBytes
com.google.protobuf.ByteString getHeaderNameBytes()The header name to be queried from the request headers. The header’s value is used to populate the value of the descriptor entry for the descriptor_key.
string header_name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for headerName.
-
getDescriptorKey
String getDescriptorKey()The key to use in the descriptor entry.
string descriptor_key = 2 [(.validate.rules) = { ... }- Returns:
- The descriptorKey.
-
getDescriptorKeyBytes
com.google.protobuf.ByteString getDescriptorKeyBytes()The key to use in the descriptor entry.
string descriptor_key = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for descriptorKey.
-