Class ScopedRouteConfiguration.Key.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScopedRouteConfiguration.Key.Builder>
com.google.protobuf.GeneratedMessage.Builder<ScopedRouteConfiguration.Key.Builder>
io.envoyproxy.envoy.config.route.v3.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, 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
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

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

    • 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>
    • 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.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

      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
    • buildPartialRepeatedFields

      private void buildPartialRepeatedFields(ScopedRouteConfiguration.Key result)
    • buildPartial0

      private void buildPartial0(ScopedRouteConfiguration.Key result)
    • mergeFrom

      public ScopedRouteConfiguration.Key.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScopedRouteConfiguration.Key.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • ensureFragmentsIsMutable

      private void ensureFragmentsIsMutable()
    • getFragmentsList

      public 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

       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

       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

       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

       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

       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

       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

       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 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 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) = { ... }
    • getFragmentsFieldBuilder