Class ScopedRouteConfiguration.Key.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScopedRouteConfiguration.KeyOrBuilder, java.lang.Cloneable
    Enclosing class:
    ScopedRouteConfiguration.Key

    public static final class ScopedRouteConfiguration.Key.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<ScopedRouteConfiguration.Key.Builder>
    implements ScopedRouteConfiguration.KeyOrBuilder
     Specifies a key which is matched against the output of the
     :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`
     specified in the HttpConnectionManager. The matching is done per HTTP
     request and is dependent on the order of the fragments contained in the
     Key.
     
    Protobuf type envoy.config.route.v3.ScopedRouteConfiguration.Key
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ScopedRouteConfiguration.Key.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.GeneratedMessage.Builder<ScopedRouteConfiguration.Key.Builder>
      • getDefaultInstanceForType

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

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

        public ScopedRouteConfiguration.Key buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ScopedRouteConfiguration.Key.Builder>
      • mergeFrom

        public ScopedRouteConfiguration.Key.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.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<ScopedRouteConfiguration.Key.Builder>
        Throws:
        java.io.IOException
      • ensureFragmentsIsMutable

        private void ensureFragmentsIsMutable()
      • getFragmentsList

        public java.util.List<ScopedRouteConfiguration.Key.Fragment> getFragmentsList()
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
        Specified by:
        getFragmentsList in interface ScopedRouteConfiguration.KeyOrBuilder
      • getFragmentsCount

        public int getFragmentsCount()
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
        Specified by:
        getFragmentsCount in interface ScopedRouteConfiguration.KeyOrBuilder
      • getFragments

        public ScopedRouteConfiguration.Key.Fragment getFragments​(int index)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
        Specified by:
        getFragments in interface ScopedRouteConfiguration.KeyOrBuilder
      • setFragments

        public ScopedRouteConfiguration.Key.Builder setFragments​(int index,
                                                                 ScopedRouteConfiguration.Key.Fragment value)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • setFragments

        public ScopedRouteConfiguration.Key.Builder setFragments​(int index,
                                                                 ScopedRouteConfiguration.Key.Fragment.Builder builderForValue)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • addFragments

        public ScopedRouteConfiguration.Key.Builder addFragments​(ScopedRouteConfiguration.Key.Fragment value)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • addFragments

        public ScopedRouteConfiguration.Key.Builder addFragments​(int index,
                                                                 ScopedRouteConfiguration.Key.Fragment value)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • addFragments

        public ScopedRouteConfiguration.Key.Builder addFragments​(ScopedRouteConfiguration.Key.Fragment.Builder builderForValue)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • addFragments

        public ScopedRouteConfiguration.Key.Builder addFragments​(int index,
                                                                 ScopedRouteConfiguration.Key.Fragment.Builder builderForValue)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • addAllFragments

        public ScopedRouteConfiguration.Key.Builder addAllFragments​(java.lang.Iterable<? extends ScopedRouteConfiguration.Key.Fragment> values)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • clearFragments

        public ScopedRouteConfiguration.Key.Builder clearFragments()
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • removeFragments

        public ScopedRouteConfiguration.Key.Builder removeFragments​(int index)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • getFragmentsBuilder

        public ScopedRouteConfiguration.Key.Fragment.Builder getFragmentsBuilder​(int index)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • getFragmentsOrBuilder

        public ScopedRouteConfiguration.Key.FragmentOrBuilder getFragmentsOrBuilder​(int index)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
        Specified by:
        getFragmentsOrBuilder in interface ScopedRouteConfiguration.KeyOrBuilder
      • getFragmentsOrBuilderList

        public java.util.List<? extends ScopedRouteConfiguration.Key.FragmentOrBuilder> getFragmentsOrBuilderList()
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
        Specified by:
        getFragmentsOrBuilderList in interface ScopedRouteConfiguration.KeyOrBuilder
      • addFragmentsBuilder

        public ScopedRouteConfiguration.Key.Fragment.Builder addFragmentsBuilder()
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • addFragmentsBuilder

        public ScopedRouteConfiguration.Key.Fragment.Builder addFragmentsBuilder​(int index)
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }
      • getFragmentsBuilderList

        public java.util.List<ScopedRouteConfiguration.Key.Fragment.Builder> getFragmentsBuilderList()
         The ordered set of fragments to match against. The order must match the
         fragments in the corresponding
         :ref:`scope_key_builder<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.ScopedRoutes.scope_key_builder>`.
         
        repeated .envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment fragments = 1 [(.validate.rules) = { ... }