Class RouteConfiguration.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
io.envoyproxy.envoy.extensions.filters.network.dubbo_proxy.v3.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 type
envoy.extensions.filters.network.dubbo_proxy.v3.RouteConfiguration-
Method Summary
Modifier and TypeMethodDescriptionaddAllRoutes(Iterable<? extends Route> values) The list of routes that will be matched, in order, against incoming requests.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) The list of routes that will be matched, in order, against incoming requests.addRoutes(int index, Route.Builder builderForValue) The list of routes that will be matched, in order, against incoming requests.The list of routes that will be matched, in order, against incoming requests.addRoutes(Route.Builder builderForValue) The list of routes that will be matched, in order, against incoming requests.The list of routes that will be matched, in order, against incoming requests.addRoutesBuilder(int index) The list of routes that will be matched, in order, against incoming requests.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Which group does the interface belong to.The interface name of the service.The name of the route configuration.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of routes that will be matched, in order, against incoming requests.The version number of the interface.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGroup()Which group does the interface belong to.com.google.protobuf.ByteStringWhich group does the interface belong to.The interface name of the service.com.google.protobuf.ByteStringThe interface name of the service.getName()The name of the route configuration.com.google.protobuf.ByteStringThe name of the route configuration.getRoutes(int index) The list of routes that will be matched, in order, against incoming requests.getRoutesBuilder(int index) The list of routes that will be matched, in order, against incoming requests.The list of routes that will be matched, in order, against incoming requests.intThe list of routes that will be matched, in order, against incoming requests.The list of routes that will be matched, in order, against incoming requests.getRoutesOrBuilder(int index) The list of routes that will be matched, in order, against incoming requests.List<? extends RouteOrBuilder>The list of routes that will be matched, in order, against incoming requests.The version number of the interface.com.google.protobuf.ByteStringThe version number of the interface.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RouteConfiguration other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRoutes(int index) The list of routes that will be matched, in order, against incoming requests.Which group does the interface belong to.setGroupBytes(com.google.protobuf.ByteString value) Which group does the interface belong to.setInterface(String value) The interface name of the service.setInterfaceBytes(com.google.protobuf.ByteString value) The interface name of the service.The name of the route configuration.setNameBytes(com.google.protobuf.ByteString value) The name of the route configuration.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The list of routes that will be matched, in order, against incoming requests.setRoutes(int index, Route.Builder builderForValue) The list of routes that will be matched, in order, against incoming requests.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersion(String value) The version number of the interface.setVersionBytes(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, 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<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
- 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<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
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
-
clearOneof
- 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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteConfiguration.Builder>
-
mergeFrom
-
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
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
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
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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
The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Specified by:
getInterfacein interfaceRouteConfigurationOrBuilder- Returns:
- The interface.
-
getInterfaceBytes
public com.google.protobuf.ByteString getInterfaceBytes()The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Specified by:
getInterfaceBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for interface.
-
setInterface
The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Parameters:
value- The interface to set.- Returns:
- This builder for chaining.
-
clearInterface
The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Returns:
- This builder for chaining.
-
setInterfaceBytes
The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Parameters:
value- The bytes for interface to set.- Returns:
- This builder for chaining.
-
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
Which group does the interface belong to.
string group = 3;- Parameters:
value- The group to set.- Returns:
- This builder for chaining.
-
clearGroup
Which group does the interface belong to.
string group = 3;- Returns:
- This builder for chaining.
-
setGroupBytes
Which group does the interface belong to.
string group = 3;- Parameters:
value- The bytes for group to set.- Returns:
- This builder for chaining.
-
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
The version number of the interface.
string version = 4;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The version number of the interface.
string version = 4;- Returns:
- This builder for chaining.
-
setVersionBytes
The version number of the interface.
string version = 4;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getRoutesList
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.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.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesCountin interfaceRouteConfigurationOrBuilder
-
getRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesin interfaceRouteConfigurationOrBuilder
-
setRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
setRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
addRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
addRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
addRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
addRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
addAllRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
clearRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
removeRoutes
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
getRoutesBuilder
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
getRoutesOrBuilder
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesOrBuilderin interfaceRouteConfigurationOrBuilder
-
getRoutesOrBuilderList
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesOrBuilderListin interfaceRouteConfigurationOrBuilder
-
addRoutesBuilder
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
addRoutesBuilder
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5; -
getRoutesBuilderList
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.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>
-