Interface RedisProxy.PrefixRoutes.RouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedisProxy.PrefixRoutes.Route,RedisProxy.PrefixRoutes.Route.Builder
- Enclosing class:
- RedisProxy.PrefixRoutes
public static interface RedisProxy.PrefixRoutes.RouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUpstream cluster to forward the command to.com.google.protobuf.ByteStringUpstream cluster to forward the command to.String prefix that must match the beginning of the keys.com.google.protobuf.ByteStringString prefix that must match the beginning of the keys.booleanIndicates if the prefix needs to be removed from the key when forwarded.getRequestMirrorPolicy(int index) Indicates that the route has a request mirroring policy.intIndicates that the route has a request mirroring policy.Indicates that the route has a request mirroring policy.getRequestMirrorPolicyOrBuilder(int index) Indicates that the route has a request mirroring policy.Indicates that the route has a request mirroring policy.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
-
getPrefix
String getPrefix()String prefix that must match the beginning of the keys. Envoy will always favor the longest match.
string prefix = 1;- Returns:
- The prefix.
-
getPrefixBytes
com.google.protobuf.ByteString getPrefixBytes()String prefix that must match the beginning of the keys. Envoy will always favor the longest match.
string prefix = 1;- Returns:
- The bytes for prefix.
-
getRemovePrefix
boolean getRemovePrefix()Indicates if the prefix needs to be removed from the key when forwarded.
bool remove_prefix = 2;- Returns:
- The removePrefix.
-
getCluster
String getCluster()Upstream cluster to forward the command to.
string cluster = 3 [(.validate.rules) = { ... }- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()Upstream cluster to forward the command to.
string cluster = 3 [(.validate.rules) = { ... }- Returns:
- The bytes for cluster.
-
getRequestMirrorPolicyList
List<RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy> getRequestMirrorPolicyList()Indicates that the route has a request mirroring policy.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4; -
getRequestMirrorPolicy
Indicates that the route has a request mirroring policy.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4; -
getRequestMirrorPolicyCount
int getRequestMirrorPolicyCount()Indicates that the route has a request mirroring policy.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4; -
getRequestMirrorPolicyOrBuilderList
List<? extends RedisProxy.PrefixRoutes.Route.RequestMirrorPolicyOrBuilder> getRequestMirrorPolicyOrBuilderList()Indicates that the route has a request mirroring policy.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4; -
getRequestMirrorPolicyOrBuilder
RedisProxy.PrefixRoutes.Route.RequestMirrorPolicyOrBuilder getRequestMirrorPolicyOrBuilder(int index) Indicates that the route has a request mirroring policy.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4;
-