Class RedisProxy.PrefixRoutes.Builder

    • Method Detail

      • 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.Builder<RedisProxy.PrefixRoutes.Builder>
      • clear

        public RedisProxy.PrefixRoutes.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • getDefaultInstanceForType

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

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

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

        public RedisProxy.PrefixRoutes.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • clearField

        public RedisProxy.PrefixRoutes.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • clearOneof

        public RedisProxy.PrefixRoutes.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • setRepeatedField

        public RedisProxy.PrefixRoutes.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • addRepeatedField

        public RedisProxy.PrefixRoutes.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • mergeFrom

        public RedisProxy.PrefixRoutes.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProxy.PrefixRoutes.Builder>
        Throws:
        IOException
      • getRoutesCount

        public int getRoutesCount()
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
        Specified by:
        getRoutesCount in interface RedisProxy.PrefixRoutesOrBuilder
      • clearRoutes

        public RedisProxy.PrefixRoutes.Builder clearRoutes()
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
      • removeRoutes

        public RedisProxy.PrefixRoutes.Builder removeRoutes​(int index)
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
      • getRoutesBuilder

        public RedisProxy.PrefixRoutes.Route.Builder getRoutesBuilder​(int index)
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
      • addRoutesBuilder

        public RedisProxy.PrefixRoutes.Route.Builder addRoutesBuilder()
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
      • addRoutesBuilder

        public RedisProxy.PrefixRoutes.Route.Builder addRoutesBuilder​(int index)
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
      • getRoutesBuilderList

        public List<RedisProxy.PrefixRoutes.Route.Builder> getRoutesBuilderList()
         List of prefix routes.
         
        repeated .envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route routes = 1;
      • 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.
      • setCaseInsensitive

        public RedisProxy.PrefixRoutes.Builder setCaseInsensitive​(boolean value)
         Indicates that prefix matching should be case insensitive.
         
        bool case_insensitive = 2;
        Parameters:
        value - The caseInsensitive to set.
        Returns:
        This builder for chaining.
      • clearCaseInsensitive

        public RedisProxy.PrefixRoutes.Builder clearCaseInsensitive()
         Indicates that prefix matching should be case insensitive.
         
        bool case_insensitive = 2;
        Returns:
        This builder for chaining.
      • getCatchAllCluster

        @Deprecated
        public String 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=169
         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.
         .. 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];
        Specified by:
        getCatchAllCluster in interface RedisProxy.PrefixRoutesOrBuilder
        Returns:
        The catchAllCluster.
      • getCatchAllClusterBytes

        @Deprecated
        public com.google.protobuf.ByteString 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=169
         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.
         .. 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];
        Specified by:
        getCatchAllClusterBytes in interface RedisProxy.PrefixRoutesOrBuilder
        Returns:
        The bytes for catchAllCluster.
      • setCatchAllCluster

        @Deprecated
        public RedisProxy.PrefixRoutes.Builder setCatchAllCluster​(String value)
        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=169
         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.
         .. 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];
        Parameters:
        value - The catchAllCluster to set.
        Returns:
        This builder for chaining.
      • clearCatchAllCluster

        @Deprecated
        public RedisProxy.PrefixRoutes.Builder clearCatchAllCluster()
        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=169
         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.
         .. 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:
        This builder for chaining.
      • setCatchAllClusterBytes

        @Deprecated
        public RedisProxy.PrefixRoutes.Builder setCatchAllClusterBytes​(com.google.protobuf.ByteString value)
        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=169
         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.
         .. 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];
        Parameters:
        value - The bytes for catchAllCluster to set.
        Returns:
        This builder for chaining.
      • 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.config.filter.network.redis_proxy.v2.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.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route catch_all_route = 4;
        Specified by:
        getCatchAllRoute in interface RedisProxy.PrefixRoutesOrBuilder
        Returns:
        The catchAllRoute.
      • setCatchAllRoute

        public RedisProxy.PrefixRoutes.Builder setCatchAllRoute​(RedisProxy.PrefixRoutes.Route value)
         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;
      • setCatchAllRoute

        public RedisProxy.PrefixRoutes.Builder setCatchAllRoute​(RedisProxy.PrefixRoutes.Route.Builder builderForValue)
         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;
      • mergeCatchAllRoute

        public RedisProxy.PrefixRoutes.Builder mergeCatchAllRoute​(RedisProxy.PrefixRoutes.Route value)
         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;
      • clearCatchAllRoute

        public RedisProxy.PrefixRoutes.Builder clearCatchAllRoute()
         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;
      • getCatchAllRouteBuilder

        public RedisProxy.PrefixRoutes.Route.Builder getCatchAllRouteBuilder()
         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;
      • setUnknownFields

        public final RedisProxy.PrefixRoutes.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>
      • mergeUnknownFields

        public final RedisProxy.PrefixRoutes.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.PrefixRoutes.Builder>