Class RouteList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RouteList.Builder>
com.google.protobuf.GeneratedMessage.Builder<RouteList.Builder>
io.envoyproxy.envoy.config.route.v3.RouteList.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RouteListOrBuilder, Cloneable
Enclosing class:
RouteList

public static final class RouteList.Builder extends com.google.protobuf.GeneratedMessage.Builder<RouteList.Builder> implements RouteListOrBuilder
This can be used in route matcher :ref:`VirtualHost.matcher <envoy_v3_api_field_config.route.v3.VirtualHost.matcher>`.
When the matcher matches, routes will be matched and run.
Protobuf type envoy.config.route.v3.RouteList
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllRoutes(Iterable<? extends Route> values)
    The list of routes that will be matched and run, in order.
    addRoutes(int index, Route value)
    The list of routes that will be matched and run, in order.
    addRoutes(int index, Route.Builder builderForValue)
    The list of routes that will be matched and run, in order.
    The list of routes that will be matched and run, in order.
    addRoutes(Route.Builder builderForValue)
    The list of routes that will be matched and run, in order.
    The list of routes that will be matched and run, in order.
    addRoutesBuilder(int index)
    The list of routes that will be matched and run, in order.
     
     
     
    The list of routes that will be matched and run, in order.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getRoutes(int index)
    The list of routes that will be matched and run, in order.
    getRoutesBuilder(int index)
    The list of routes that will be matched and run, in order.
    The list of routes that will be matched and run, in order.
    int
    The list of routes that will be matched and run, in order.
    The list of routes that will be matched and run, in order.
    getRoutesOrBuilder(int index)
    The list of routes that will be matched and run, in order.
    List<? extends RouteOrBuilder>
    The list of routes that will be matched and run, in order.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    removeRoutes(int index)
    The list of routes that will be matched and run, in order.
    setRoutes(int index, Route value)
    The list of routes that will be matched and run, in order.
    setRoutes(int index, Route.Builder builderForValue)
    The list of routes that will be matched and run, in order.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<RouteList.Builder>
    • clear

      public RouteList.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<RouteList.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<RouteList.Builder>
    • getDefaultInstanceForType

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

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

      public RouteList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RouteList.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<RouteList.Builder>
    • mergeFrom

      public RouteList.Builder mergeFrom(RouteList other)
    • isInitialized

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

      public RouteList.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<RouteList.Builder>
      Throws:
      IOException
    • getRoutesList

      public List<Route> getRoutesList()
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
      Specified by:
      getRoutesList in interface RouteListOrBuilder
    • getRoutesCount

      public int getRoutesCount()
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
      Specified by:
      getRoutesCount in interface RouteListOrBuilder
    • getRoutes

      public Route getRoutes(int index)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
      Specified by:
      getRoutes in interface RouteListOrBuilder
    • setRoutes

      public RouteList.Builder setRoutes(int index, Route value)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • setRoutes

      public RouteList.Builder setRoutes(int index, Route.Builder builderForValue)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • addRoutes

      public RouteList.Builder addRoutes(Route value)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • addRoutes

      public RouteList.Builder addRoutes(int index, Route value)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • addRoutes

      public RouteList.Builder addRoutes(Route.Builder builderForValue)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • addRoutes

      public RouteList.Builder addRoutes(int index, Route.Builder builderForValue)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • addAllRoutes

      public RouteList.Builder addAllRoutes(Iterable<? extends Route> values)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • clearRoutes

      public RouteList.Builder clearRoutes()
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • removeRoutes

      public RouteList.Builder removeRoutes(int index)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • getRoutesBuilder

      public Route.Builder getRoutesBuilder(int index)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • getRoutesOrBuilder

      public RouteOrBuilder getRoutesOrBuilder(int index)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
      Specified by:
      getRoutesOrBuilder in interface RouteListOrBuilder
    • getRoutesOrBuilderList

      public List<? extends RouteOrBuilder> getRoutesOrBuilderList()
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
      Specified by:
      getRoutesOrBuilderList in interface RouteListOrBuilder
    • addRoutesBuilder

      public Route.Builder addRoutesBuilder()
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • addRoutesBuilder

      public Route.Builder addRoutesBuilder(int index)
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;
    • getRoutesBuilderList

      public List<Route.Builder> getRoutesBuilderList()
      The list of routes that will be matched and run, in order. The first route that matches will be used.
      
      repeated .envoy.config.route.v3.Route routes = 1;