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.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 type
envoy.config.filter.network.thrift_proxy.v2alpha1.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) 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.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()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.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.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) 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.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
-