Class RedisProxy.PrefixRoutes

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RedisProxy.PrefixRoutesOrBuilder, Serializable
Enclosing class:
RedisProxy

public static final class RedisProxy.PrefixRoutes extends com.google.protobuf.GeneratedMessageV3 implements RedisProxy.PrefixRoutesOrBuilder
Protobuf type envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes
See Also:
  • Field Details

    • ROUTES_FIELD_NUMBER

      public static final int ROUTES_FIELD_NUMBER
      See Also:
    • CASE_INSENSITIVE_FIELD_NUMBER

      public static final int CASE_INSENSITIVE_FIELD_NUMBER
      See Also:
    • CATCH_ALL_ROUTE_FIELD_NUMBER

      public static final int CATCH_ALL_ROUTE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getRoutesList

      public List<RedisProxy.PrefixRoutes.Route> getRoutesList()
       List of prefix routes.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route routes = 1;
      Specified by:
      getRoutesList in interface RedisProxy.PrefixRoutesOrBuilder
    • getRoutesOrBuilderList

      public List<? extends RedisProxy.PrefixRoutes.RouteOrBuilder> getRoutesOrBuilderList()
       List of prefix routes.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route routes = 1;
      Specified by:
      getRoutesOrBuilderList in interface RedisProxy.PrefixRoutesOrBuilder
    • getRoutesCount

      public int getRoutesCount()
       List of prefix routes.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route routes = 1;
      Specified by:
      getRoutesCount in interface RedisProxy.PrefixRoutesOrBuilder
    • getRoutes

      public RedisProxy.PrefixRoutes.Route getRoutes(int index)
       List of prefix routes.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route routes = 1;
      Specified by:
      getRoutes in interface RedisProxy.PrefixRoutesOrBuilder
    • getRoutesOrBuilder

      public RedisProxy.PrefixRoutes.RouteOrBuilder getRoutesOrBuilder(int index)
       List of prefix routes.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route routes = 1;
      Specified by:
      getRoutesOrBuilder in interface RedisProxy.PrefixRoutesOrBuilder
    • getCaseInsensitive

      public boolean getCaseInsensitive()
       Indicates that prefix matching should be case insensitive.
       
      bool case_insensitive = 2;
      Specified by:
      getCaseInsensitive in interface RedisProxy.PrefixRoutesOrBuilder
      Returns:
      The caseInsensitive.
    • hasCatchAllRoute

      public 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.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route catch_all_route = 4;
      Specified by:
      hasCatchAllRoute in interface RedisProxy.PrefixRoutesOrBuilder
      Returns:
      Whether the catchAllRoute field is set.
    • getCatchAllRoute

      public 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.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route catch_all_route = 4;
      Specified by:
      getCatchAllRoute in interface RedisProxy.PrefixRoutesOrBuilder
      Returns:
      The catchAllRoute.
    • getCatchAllRouteOrBuilder

      public 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.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route catch_all_route = 4;
      Specified by:
      getCatchAllRouteOrBuilder in interface RedisProxy.PrefixRoutesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RedisProxy.PrefixRoutes parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RedisProxy.PrefixRoutes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RedisProxy.PrefixRoutes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RedisProxy.PrefixRoutes.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RedisProxy.PrefixRoutes.Builder newBuilder()
    • newBuilder

      public static RedisProxy.PrefixRoutes.Builder newBuilder(RedisProxy.PrefixRoutes prototype)
    • toBuilder

      public RedisProxy.PrefixRoutes.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RedisProxy.PrefixRoutes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static RedisProxy.PrefixRoutes getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RedisProxy.PrefixRoutes> parser()
    • getParserForType

      public com.google.protobuf.Parser<RedisProxy.PrefixRoutes> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public RedisProxy.PrefixRoutes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder