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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCluster()Upstream cluster to forward the command to.com.google.protobuf.ByteStringgetClusterBytes()Upstream cluster to forward the command to.StringgetPrefix()String prefix that must match the beginning of the keys.com.google.protobuf.ByteStringgetPrefixBytes()String prefix that must match the beginning of the keys.booleangetRemovePrefix()Indicates if the prefix needs to be removed from the key when forwarded.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicygetRequestMirrorPolicy(int index)Indicates that the route has a request mirroring policy.intgetRequestMirrorPolicyCount()Indicates that the route has a request mirroring policy.List<RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy>getRequestMirrorPolicyList()Indicates that the route has a request mirroring policy.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicyOrBuildergetRequestMirrorPolicyOrBuilder(int index)Indicates that the route has a request mirroring policy.List<? extends RedisProxy.PrefixRoutes.Route.RequestMirrorPolicyOrBuilder>getRequestMirrorPolicyOrBuilderList()Indicates that the route has a request mirroring policy.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPrefix
String getPrefix()
String prefix that must match the beginning of the keys. Envoy will always favor the longest match.
string prefix = 1 [(.validate.rules) = { ... }- 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 [(.validate.rules) = { ... }- 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.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4;
-
getRequestMirrorPolicy
RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy getRequestMirrorPolicy(int index)
Indicates that the route has a request mirroring policy.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4;
-
getRequestMirrorPolicyCount
int getRequestMirrorPolicyCount()
Indicates that the route has a request mirroring policy.
repeated .envoy.extensions.filters.network.redis_proxy.v3.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.extensions.filters.network.redis_proxy.v3.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.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy request_mirror_policy = 4;
-
-