Class RouteConfiguration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
- io.envoyproxy.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteConfigurationOrBuilder,Cloneable
- Enclosing class:
- RouteConfiguration
public static final class RouteConfiguration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder> implements RouteConfigurationOrBuilder
Protobuf typeenvoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteConfiguration.BuilderaddAllRoutes(Iterable<? extends Route> values)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteConfiguration.BuilderaddRoutes(int index, Route value)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuilderaddRoutes(int index, Route.Builder builderForValue)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuilderaddRoutes(Route value)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuilderaddRoutes(Route.Builder builderForValue)The list of routes that will be matched, in order, against incoming requests.Route.BuilderaddRoutesBuilder()The list of routes that will be matched, in order, against incoming requests.Route.BuilderaddRoutesBuilder(int index)The list of routes that will be matched, in order, against incoming requests.RouteConfigurationbuild()RouteConfigurationbuildPartial()RouteConfiguration.Builderclear()RouteConfiguration.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouteConfiguration.BuilderclearName()The name of the route configuration.RouteConfiguration.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouteConfiguration.BuilderclearRoutes()The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.Builderclone()RouteConfigurationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The name of the route configuration.com.google.protobuf.ByteStringgetNameBytes()The name of the route configuration.RoutegetRoutes(int index)The list of routes that will be matched, in order, against incoming requests.Route.BuildergetRoutesBuilder(int index)The list of routes that will be matched, in order, against incoming requests.List<Route.Builder>getRoutesBuilderList()The list of routes that will be matched, in order, against incoming requests.intgetRoutesCount()The list of routes that will be matched, in order, against incoming requests.List<Route>getRoutesList()The list of routes that will be matched, in order, against incoming requests.RouteOrBuildergetRoutesOrBuilder(int index)The list of routes that will be matched, in order, against incoming requests.List<? extends RouteOrBuilder>getRoutesOrBuilderList()The list of routes that will be matched, in order, against incoming requests.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouteConfiguration.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouteConfiguration.BuildermergeFrom(com.google.protobuf.Message other)RouteConfiguration.BuildermergeFrom(RouteConfiguration other)RouteConfiguration.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouteConfiguration.BuilderremoveRoutes(int index)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteConfiguration.BuildersetName(String value)The name of the route configuration.RouteConfiguration.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the route configuration.RouteConfiguration.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouteConfiguration.BuildersetRoutes(int index, Route value)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuildersetRoutes(int index, Route.Builder builderForValue)The list of routes that will be matched, in order, against incoming requests.RouteConfiguration.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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<RouteConfiguration.Builder>
-
clear
public RouteConfiguration.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<RouteConfiguration.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<RouteConfiguration.Builder>
-
getDefaultInstanceForType
public RouteConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteConfiguration build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteConfiguration buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouteConfiguration.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<RouteConfiguration.Builder>
-
setField
public RouteConfiguration.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<RouteConfiguration.Builder>
-
clearField
public RouteConfiguration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
clearOneof
public RouteConfiguration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
setRepeatedField
public RouteConfiguration.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<RouteConfiguration.Builder>
-
addRepeatedField
public RouteConfiguration.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<RouteConfiguration.Builder>
-
mergeFrom
public RouteConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteConfiguration.Builder>
-
mergeFrom
public RouteConfiguration.Builder mergeFrom(RouteConfiguration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
mergeFrom
public RouteConfiguration.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<RouteConfiguration.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Specified by:
getNamein interfaceRouteConfigurationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Specified by:
getNameBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for name.
-
setName
public RouteConfiguration.Builder setName(String value)
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public RouteConfiguration.Builder clearName()
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public RouteConfiguration.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRoutesList
public List<Route> getRoutesList()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;- Specified by:
getRoutesListin interfaceRouteConfigurationOrBuilder
-
getRoutesCount
public int getRoutesCount()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;- Specified by:
getRoutesCountin interfaceRouteConfigurationOrBuilder
-
getRoutes
public Route getRoutes(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;- Specified by:
getRoutesin interfaceRouteConfigurationOrBuilder
-
setRoutes
public RouteConfiguration.Builder setRoutes(int index, Route value)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
setRoutes
public RouteConfiguration.Builder setRoutes(int index, Route.Builder builderForValue)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
addRoutes
public RouteConfiguration.Builder addRoutes(Route value)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
addRoutes
public RouteConfiguration.Builder addRoutes(int index, Route value)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
addRoutes
public RouteConfiguration.Builder addRoutes(Route.Builder builderForValue)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
addRoutes
public RouteConfiguration.Builder addRoutes(int index, Route.Builder builderForValue)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
addAllRoutes
public RouteConfiguration.Builder addAllRoutes(Iterable<? extends Route> values)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
clearRoutes
public RouteConfiguration.Builder clearRoutes()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
removeRoutes
public RouteConfiguration.Builder removeRoutes(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
getRoutesBuilder
public Route.Builder getRoutesBuilder(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
getRoutesOrBuilder
public RouteOrBuilder getRoutesOrBuilder(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;- Specified by:
getRoutesOrBuilderin interfaceRouteConfigurationOrBuilder
-
getRoutesOrBuilderList
public List<? extends RouteOrBuilder> getRoutesOrBuilderList()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;- Specified by:
getRoutesOrBuilderListin interfaceRouteConfigurationOrBuilder
-
addRoutesBuilder
public Route.Builder addRoutesBuilder()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
addRoutesBuilder
public Route.Builder addRoutesBuilder(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
getRoutesBuilderList
public List<Route.Builder> getRoutesBuilderList()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.Route routes = 2;
-
setUnknownFields
public final RouteConfiguration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
mergeUnknownFields
public final RouteConfiguration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
-