Class RouteList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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 TypeMethodDescriptionaddAllRoutes(Iterable<? extends Route> values) The list of routes that will be matched and run, in order.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object 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.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of routes that will be matched and run, in order.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRoutes(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.intThe 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.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final RouteList.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRoutes(int index) The list of routes that will be matched and run, in order.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object 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.final RouteList.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouteList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
setField
public RouteList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
setRepeatedField
public RouteList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
addRepeatedField
public RouteList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
mergeFrom
public RouteList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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:
IOException
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-
mergeUnknownFields
public final RouteList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteList.Builder>
-