Interface RedisProxy.PrefixRoutesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedisProxy.PrefixRoutes,RedisProxy.PrefixRoutes.Builder
- Enclosing class:
- RedisProxy
public static interface RedisProxy.PrefixRoutesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates that prefix matching should be case insensitive.Deprecated.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_cluster is deprecated.com.google.protobuf.ByteStringDeprecated.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_cluster is deprecated.Optional catch-all route to forward commands that doesn't match any of the routes.Optional catch-all route to forward commands that doesn't match any of the routes.getRoutes(int index) List of prefix routes.intList of prefix routes.List of prefix routes.getRoutesOrBuilder(int index) List of prefix routes.List<? extends RedisProxy.PrefixRoutes.RouteOrBuilder>List of prefix routes.booleanOptional catch-all route to forward commands that doesn't match any of the routes.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
-
getRoutesList
List<RedisProxy.PrefixRoutes.Route> getRoutesList()List of prefix routes.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1; -
getRoutes
List of prefix routes.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1; -
getRoutesCount
int getRoutesCount()List of prefix routes.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1; -
getRoutesOrBuilderList
List<? extends RedisProxy.PrefixRoutes.RouteOrBuilder> getRoutesOrBuilderList()List of prefix routes.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1; -
getRoutesOrBuilder
List of prefix routes.
repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1; -
getCaseInsensitive
boolean getCaseInsensitive()Indicates that prefix matching should be case insensitive.
bool case_insensitive = 2;- Returns:
- The caseInsensitive.
-
getCatchAllCluster
Deprecated.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_cluster is deprecated. See envoy/config/filter/network/redis_proxy/v2/redis_proxy.proto;l=169Optional catch-all route to forward commands that doesn't match any of the routes. The catch-all route becomes required when no routes are specified. .. attention:: This field is deprecated. Use a :ref:`catch_all route<envoy_api_field_config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_route>` instead.
string catch_all_cluster = 3 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Returns:
- The catchAllCluster.
-
getCatchAllClusterBytes
Deprecated.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_cluster is deprecated. See envoy/config/filter/network/redis_proxy/v2/redis_proxy.proto;l=169Optional catch-all route to forward commands that doesn't match any of the routes. The catch-all route becomes required when no routes are specified. .. attention:: This field is deprecated. Use a :ref:`catch_all route<envoy_api_field_config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.catch_all_route>` instead.
string catch_all_cluster = 3 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Returns:
- The bytes for catchAllCluster.
-
hasCatchAllRoute
boolean hasCatchAllRoute()Optional catch-all route to forward commands that doesn't match any of the routes. The catch-all route becomes required when no routes are specified.
.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route catch_all_route = 4;- Returns:
- Whether the catchAllRoute field is set.
-
getCatchAllRoute
RedisProxy.PrefixRoutes.Route getCatchAllRoute()Optional catch-all route to forward commands that doesn't match any of the routes. The catch-all route becomes required when no routes are specified.
.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route catch_all_route = 4;- Returns:
- The catchAllRoute.
-
getCatchAllRouteOrBuilder
RedisProxy.PrefixRoutes.RouteOrBuilder getCatchAllRouteOrBuilder()Optional catch-all route to forward commands that doesn't match any of the routes. The catch-all route becomes required when no routes are specified.
.envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route catch_all_route = 4;
-