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.dubbo_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
[#next-free-field: 6]
Protobuf typeenvoy.config.filter.network.dubbo_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.BuilderclearGroup()Which group does the interface belong to.RouteConfiguration.BuilderclearInterface()The interface name of the service.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.BuilderclearVersion()The version number of the interface.RouteConfiguration.Builderclone()RouteConfigurationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGroup()Which group does the interface belong to.com.google.protobuf.ByteStringgetGroupBytes()Which group does the interface belong to.StringgetInterface()The interface name of the service.com.google.protobuf.ByteStringgetInterfaceBytes()The interface name of the service.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.StringgetVersion()The version number of the interface.com.google.protobuf.ByteStringgetVersionBytes()The version number of the interface.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.BuildersetGroup(String value)Which group does the interface belong to.RouteConfiguration.BuildersetGroupBytes(com.google.protobuf.ByteString value)Which group does the interface belong to.RouteConfiguration.BuildersetInterface(String value)The interface name of the service.RouteConfiguration.BuildersetInterfaceBytes(com.google.protobuf.ByteString value)The interface name of the service.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)RouteConfiguration.BuildersetVersion(String value)The version number of the interface.RouteConfiguration.BuildersetVersionBytes(com.google.protobuf.ByteString value)The version number of the interface.-
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.
-
getInterface
public String getInterface()
The interface name of the service.
string interface = 2;- Specified by:
getInterfacein interfaceRouteConfigurationOrBuilder- Returns:
- The interface.
-
getInterfaceBytes
public com.google.protobuf.ByteString getInterfaceBytes()
The interface name of the service.
string interface = 2;- Specified by:
getInterfaceBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for interface.
-
setInterface
public RouteConfiguration.Builder setInterface(String value)
The interface name of the service.
string interface = 2;- Parameters:
value- The interface to set.- Returns:
- This builder for chaining.
-
clearInterface
public RouteConfiguration.Builder clearInterface()
The interface name of the service.
string interface = 2;- Returns:
- This builder for chaining.
-
setInterfaceBytes
public RouteConfiguration.Builder setInterfaceBytes(com.google.protobuf.ByteString value)
The interface name of the service.
string interface = 2;- Parameters:
value- The bytes for interface to set.- Returns:
- This builder for chaining.
-
getGroup
public String getGroup()
Which group does the interface belong to.
string group = 3;- Specified by:
getGroupin interfaceRouteConfigurationOrBuilder- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()
Which group does the interface belong to.
string group = 3;- Specified by:
getGroupBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for group.
-
setGroup
public RouteConfiguration.Builder setGroup(String value)
Which group does the interface belong to.
string group = 3;- Parameters:
value- The group to set.- Returns:
- This builder for chaining.
-
clearGroup
public RouteConfiguration.Builder clearGroup()
Which group does the interface belong to.
string group = 3;- Returns:
- This builder for chaining.
-
setGroupBytes
public RouteConfiguration.Builder setGroupBytes(com.google.protobuf.ByteString value)
Which group does the interface belong to.
string group = 3;- Parameters:
value- The bytes for group to set.- Returns:
- This builder for chaining.
-
getVersion
public String getVersion()
The version number of the interface.
string version = 4;- Specified by:
getVersionin interfaceRouteConfigurationOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The version number of the interface.
string version = 4;- Specified by:
getVersionBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for version.
-
setVersion
public RouteConfiguration.Builder setVersion(String value)
The version number of the interface.
string version = 4;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public RouteConfiguration.Builder clearVersion()
The version number of the interface.
string version = 4;- Returns:
- This builder for chaining.
-
setVersionBytes
public RouteConfiguration.Builder setVersionBytes(com.google.protobuf.ByteString value)
The version number of the interface.
string version = 4;- Parameters:
value- The bytes for version 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.dubbo_proxy.v2alpha1.Route routes = 5;- 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.dubbo_proxy.v2alpha1.Route routes = 5;- 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.dubbo_proxy.v2alpha1.Route routes = 5;- 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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;- 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.dubbo_proxy.v2alpha1.Route routes = 5;- 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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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.dubbo_proxy.v2alpha1.Route routes = 5;
-
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>
-
-