Class RouteList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typeenvoy.config.route.v3.RouteList
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private java.util.List<Route>routes_private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder>routesBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteList.BuilderaddAllRoutes(java.lang.Iterable<? extends Route> values)The list of routes that will be matched and run, in order.RouteList.BuilderaddRoutes(int index, Route value)The list of routes that will be matched and run, in order.RouteList.BuilderaddRoutes(int index, Route.Builder builderForValue)The list of routes that will be matched and run, in order.RouteList.BuilderaddRoutes(Route value)The list of routes that will be matched and run, in order.RouteList.BuilderaddRoutes(Route.Builder builderForValue)The list of routes that will be matched and run, in order.Route.BuilderaddRoutesBuilder()The list of routes that will be matched and run, in order.Route.BuilderaddRoutesBuilder(int index)The list of routes that will be matched and run, in order.RouteListbuild()RouteListbuildPartial()private voidbuildPartial0(RouteList result)private voidbuildPartialRepeatedFields(RouteList result)RouteList.Builderclear()RouteList.BuilderclearRoutes()The list of routes that will be matched and run, in order.private voidensureRoutesIsMutable()RouteListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RoutegetRoutes(int index)The list of routes that will be matched and run, in order.Route.BuildergetRoutesBuilder(int index)The list of routes that will be matched and run, in order.java.util.List<Route.Builder>getRoutesBuilderList()The list of routes that will be matched and run, in order.intgetRoutesCount()The list of routes that will be matched and run, in order.private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder>getRoutesFieldBuilder()java.util.List<Route>getRoutesList()The list of routes that will be matched and run, in order.RouteOrBuildergetRoutesOrBuilder(int index)The list of routes that will be matched and run, in order.java.util.List<? extends RouteOrBuilder>getRoutesOrBuilderList()The list of routes that will be matched and run, in order.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouteList.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouteList.BuildermergeFrom(com.google.protobuf.Message other)RouteList.BuildermergeFrom(RouteList other)RouteList.BuilderremoveRoutes(int index)The list of routes that will be matched and run, in order.RouteList.BuildersetRoutes(int index, Route value)The list of routes that will be matched and run, in order.RouteList.BuildersetRoutes(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 java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
routes_
private java.util.List<Route> routes_
-
routesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder> routesBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RouteList.Builder>
-
clear
public RouteList.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RouteList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RouteList.Builder>
-
getDefaultInstanceForType
public RouteList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(RouteList result)
-
buildPartial0
private void buildPartial0(RouteList result)
-
mergeFrom
public RouteList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteList.Builder>
-
mergeFrom
public RouteList.Builder mergeFrom(RouteList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteList.Builder>
-
mergeFrom
public RouteList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteList.Builder>- Throws:
java.io.IOException
-
ensureRoutesIsMutable
private void ensureRoutesIsMutable()
-
getRoutesList
public java.util.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:
getRoutesListin interfaceRouteListOrBuilder
-
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:
getRoutesCountin interfaceRouteListOrBuilder
-
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:
getRoutesin interfaceRouteListOrBuilder
-
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(java.lang.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:
getRoutesOrBuilderin interfaceRouteListOrBuilder
-
getRoutesOrBuilderList
public java.util.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:
getRoutesOrBuilderListin interfaceRouteListOrBuilder
-
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 java.util.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;
-
getRoutesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder> getRoutesFieldBuilder()
-
-