Interface RedisProxy.PrefixRoutes.RouteOrBuilder

    • 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;
      • getKeyFormatter

        String getKeyFormatter()
         Indicates how redis key should be formatted. To substitute redis key into the formatting
         expression, use %KEY% as a string replacement command.
         
        string key_formatter = 5;
        Returns:
        The keyFormatter.
      • getKeyFormatterBytes

        com.google.protobuf.ByteString getKeyFormatterBytes()
         Indicates how redis key should be formatted. To substitute redis key into the formatting
         expression, use %KEY% as a string replacement command.
         
        string key_formatter = 5;
        Returns:
        The bytes for keyFormatter.
      • hasReadCommandPolicy

        boolean hasReadCommandPolicy()
         Indicates that the route has a read command policy
         
        .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.ReadCommandPolicy read_command_policy = 6;
        Returns:
        Whether the readCommandPolicy field is set.
      • getReadCommandPolicy

        RedisProxy.PrefixRoutes.Route.ReadCommandPolicy getReadCommandPolicy()
         Indicates that the route has a read command policy
         
        .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.ReadCommandPolicy read_command_policy = 6;
        Returns:
        The readCommandPolicy.
      • getReadCommandPolicyOrBuilder

        RedisProxy.PrefixRoutes.Route.ReadCommandPolicyOrBuilder getReadCommandPolicyOrBuilder()
         Indicates that the route has a read command policy
         
        .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.ReadCommandPolicy read_command_policy = 6;