Interface RouteConfigurationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteConfiguration,RouteConfiguration.Builder
public interface RouteConfigurationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of the route configuration.com.google.protobuf.ByteStringThe name of the route configuration.The match tree to use when resolving route actions for incoming requests.The match tree to use when resolving route actions for incoming requests.getVirtualHosts(int index) An array of virtual hosts that make up the route table.intAn array of virtual hosts that make up the route table.An array of virtual hosts that make up the route table.getVirtualHostsOrBuilder(int index) An array of virtual hosts that make up the route table.List<? extends VirtualHostOrBuilder>An array of virtual hosts that make up the route table.booleanThe match tree to use when resolving route actions for incoming requests.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the route configuration. For example, it might match route_config_name in envoy.extensions.filters.network.generic_proxy.v3.Rds.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the route configuration. For example, it might match route_config_name in envoy.extensions.filters.network.generic_proxy.v3.Rds.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
hasRoutes
boolean hasRoutes()The match tree to use when resolving route actions for incoming requests. If no any virtual host is configured in the ``virtual_hosts`` field or no special wildcard virtual host is configured, the ``routes`` field will be used as the default route table. If both the wildcard virtual host and ``routes`` are configured, the configuration will fail to load.
.xds.type.matcher.v3.Matcher routes = 2;- Returns:
- Whether the routes field is set.
-
getRoutes
Matcher getRoutes()The match tree to use when resolving route actions for incoming requests. If no any virtual host is configured in the ``virtual_hosts`` field or no special wildcard virtual host is configured, the ``routes`` field will be used as the default route table. If both the wildcard virtual host and ``routes`` are configured, the configuration will fail to load.
.xds.type.matcher.v3.Matcher routes = 2;- Returns:
- The routes.
-
getRoutesOrBuilder
MatcherOrBuilder getRoutesOrBuilder()The match tree to use when resolving route actions for incoming requests. If no any virtual host is configured in the ``virtual_hosts`` field or no special wildcard virtual host is configured, the ``routes`` field will be used as the default route table. If both the wildcard virtual host and ``routes`` are configured, the configuration will fail to load.
.xds.type.matcher.v3.Matcher routes = 2; -
getVirtualHostsList
List<VirtualHost> getVirtualHostsList()An array of virtual hosts that make up the route table.
repeated .envoy.extensions.filters.network.generic_proxy.v3.VirtualHost virtual_hosts = 3; -
getVirtualHosts
An array of virtual hosts that make up the route table.
repeated .envoy.extensions.filters.network.generic_proxy.v3.VirtualHost virtual_hosts = 3; -
getVirtualHostsCount
int getVirtualHostsCount()An array of virtual hosts that make up the route table.
repeated .envoy.extensions.filters.network.generic_proxy.v3.VirtualHost virtual_hosts = 3; -
getVirtualHostsOrBuilderList
List<? extends VirtualHostOrBuilder> getVirtualHostsOrBuilderList()An array of virtual hosts that make up the route table.
repeated .envoy.extensions.filters.network.generic_proxy.v3.VirtualHost virtual_hosts = 3; -
getVirtualHostsOrBuilder
An array of virtual hosts that make up the route table.
repeated .envoy.extensions.filters.network.generic_proxy.v3.VirtualHost virtual_hosts = 3;
-