Class RouteConfiguration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
- io.envoyproxy.envoy.config.route.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
,java.lang.Cloneable
- Enclosing class:
- RouteConfiguration
public static final class RouteConfiguration.Builder extends com.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder> implements RouteConfigurationOrBuilder
[#next-free-field: 18]
Protobuf typeenvoy.config.route.v3.RouteConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
RouteConfiguration.Builder.TypedPerFilterConfigConverter
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.util.List<ClusterSpecifierPlugin>
clusterSpecifierPlugins_
private com.google.protobuf.RepeatedFieldBuilder<ClusterSpecifierPlugin,ClusterSpecifierPlugin.Builder,ClusterSpecifierPluginOrBuilder>
clusterSpecifierPluginsBuilder_
private boolean
ignorePathParametersInPathMatching_
private boolean
ignorePortInHostMatching_
private com.google.protobuf.LazyStringArrayList
internalOnlyHeaders_
private com.google.protobuf.UInt32Value
maxDirectResponseBodySizeBytes_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
maxDirectResponseBodySizeBytesBuilder_
private Metadata
metadata_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
metadataBuilder_
private boolean
mostSpecificHeaderMutationsWins_
private java.lang.Object
name_
private java.util.List<HeaderValueOption>
requestHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
requestHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
requestHeadersToRemove_
private java.util.List<RouteAction.RequestMirrorPolicy>
requestMirrorPolicies_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder>
requestMirrorPoliciesBuilder_
private java.util.List<HeaderValueOption>
responseHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
responseHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
responseHeadersToRemove_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
typedPerFilterConfig_
private static RouteConfiguration.Builder.TypedPerFilterConfigConverter
typedPerFilterConfigConverter
private com.google.protobuf.BoolValue
validateClusters_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
validateClustersBuilder_
private Vhds
vhds_
private com.google.protobuf.SingleFieldBuilder<Vhds,Vhds.Builder,VhdsOrBuilder>
vhdsBuilder_
private java.util.List<VirtualHost>
virtualHosts_
private com.google.protobuf.RepeatedFieldBuilder<VirtualHost,VirtualHost.Builder,VirtualHostOrBuilder>
virtualHostsBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RouteConfiguration.Builder
addAllClusterSpecifierPlugins(java.lang.Iterable<? extends ClusterSpecifierPlugin> values)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
addAllInternalOnlyHeaders(java.lang.Iterable<java.lang.String> values)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.RouteConfiguration.Builder
addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.RouteConfiguration.Builder
addAllRequestMirrorPolicies(java.lang.Iterable<? extends RouteAction.RequestMirrorPolicy> values)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.RouteConfiguration.Builder
addAllVirtualHosts(java.lang.Iterable<? extends VirtualHost> values)
An array of virtual hosts that make up the route table.RouteConfiguration.Builder
addClusterSpecifierPlugins(int index, ClusterSpecifierPlugin value)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
addClusterSpecifierPlugins(int index, ClusterSpecifierPlugin.Builder builderForValue)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
addClusterSpecifierPlugins(ClusterSpecifierPlugin value)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
addClusterSpecifierPlugins(ClusterSpecifierPlugin.Builder builderForValue)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.ClusterSpecifierPlugin.Builder
addClusterSpecifierPluginsBuilder()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.ClusterSpecifierPlugin.Builder
addClusterSpecifierPluginsBuilder(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
addInternalOnlyHeaders(java.lang.String value)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.RouteConfiguration.Builder
addInternalOnlyHeadersBytes(com.google.protobuf.ByteString value)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.RouteConfiguration.Builder
addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
addRequestHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.HeaderValueOption.Builder
addRequestHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.HeaderValueOption.Builder
addRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
addRequestHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.RouteConfiguration.Builder
addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.RouteConfiguration.Builder
addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteAction.RequestMirrorPolicy.Builder
addRequestMirrorPoliciesBuilder()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteAction.RequestMirrorPolicy.Builder
addRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
addResponseHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.HeaderValueOption.Builder
addResponseHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.HeaderValueOption.Builder
addResponseHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
addResponseHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.RouteConfiguration.Builder
addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.RouteConfiguration.Builder
addVirtualHosts(int index, VirtualHost value)
An array of virtual hosts that make up the route table.RouteConfiguration.Builder
addVirtualHosts(int index, VirtualHost.Builder builderForValue)
An array of virtual hosts that make up the route table.RouteConfiguration.Builder
addVirtualHosts(VirtualHost value)
An array of virtual hosts that make up the route table.RouteConfiguration.Builder
addVirtualHosts(VirtualHost.Builder builderForValue)
An array of virtual hosts that make up the route table.VirtualHost.Builder
addVirtualHostsBuilder()
An array of virtual hosts that make up the route table.VirtualHost.Builder
addVirtualHostsBuilder(int index)
An array of virtual hosts that make up the route table.RouteConfiguration
build()
RouteConfiguration
buildPartial()
private void
buildPartial0(RouteConfiguration result)
private void
buildPartialRepeatedFields(RouteConfiguration result)
RouteConfiguration.Builder
clear()
RouteConfiguration.Builder
clearClusterSpecifierPlugins()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
clearIgnorePathParametersInPathMatching()
Ignore path-parameters in path-matching.RouteConfiguration.Builder
clearIgnorePortInHostMatching()
By default, port in :authority header (if any) is used in host matching.RouteConfiguration.Builder
clearInternalOnlyHeaders()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.RouteConfiguration.Builder
clearMaxDirectResponseBodySizeBytes()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.RouteConfiguration.Builder
clearMetadata()
The metadata field can be used to provide additional information about the route configuration.RouteConfiguration.Builder
clearMostSpecificHeaderMutationsWins()
Headers mutations at all levels are evaluated, if specified.RouteConfiguration.Builder
clearName()
The name of the route configuration.RouteConfiguration.Builder
clearRequestHeadersToAdd()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.RouteConfiguration.Builder
clearRequestMirrorPolicies()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
clearResponseHeadersToAdd()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.RouteConfiguration.Builder
clearTypedPerFilterConfig()
RouteConfiguration.Builder
clearValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.RouteConfiguration.Builder
clearVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API.RouteConfiguration.Builder
clearVirtualHosts()
An array of virtual hosts that make up the route table.boolean
containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config.private void
ensureClusterSpecifierPluginsIsMutable()
private void
ensureInternalOnlyHeadersIsMutable()
private void
ensureRequestHeadersToAddIsMutable()
private void
ensureRequestHeadersToRemoveIsMutable()
private void
ensureRequestMirrorPoliciesIsMutable()
private void
ensureResponseHeadersToAddIsMutable()
private void
ensureResponseHeadersToRemoveIsMutable()
private void
ensureVirtualHostsIsMutable()
ClusterSpecifierPlugin
getClusterSpecifierPlugins(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.ClusterSpecifierPlugin.Builder
getClusterSpecifierPluginsBuilder(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.java.util.List<ClusterSpecifierPlugin.Builder>
getClusterSpecifierPluginsBuilderList()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.int
getClusterSpecifierPluginsCount()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.private com.google.protobuf.RepeatedFieldBuilder<ClusterSpecifierPlugin,ClusterSpecifierPlugin.Builder,ClusterSpecifierPluginOrBuilder>
getClusterSpecifierPluginsFieldBuilder()
java.util.List<ClusterSpecifierPlugin>
getClusterSpecifierPluginsList()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.ClusterSpecifierPluginOrBuilder
getClusterSpecifierPluginsOrBuilder(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.java.util.List<? extends ClusterSpecifierPluginOrBuilder>
getClusterSpecifierPluginsOrBuilderList()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIgnorePathParametersInPathMatching()
Ignore path-parameters in path-matching.boolean
getIgnorePortInHostMatching()
By default, port in :authority header (if any) is used in host matching.java.lang.String
getInternalOnlyHeaders(int index)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.com.google.protobuf.ByteString
getInternalOnlyHeadersBytes(int index)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.int
getInternalOnlyHeadersCount()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.com.google.protobuf.ProtocolStringList
getInternalOnlyHeadersList()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.com.google.protobuf.UInt32Value
getMaxDirectResponseBodySizeBytes()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.com.google.protobuf.UInt32Value.Builder
getMaxDirectResponseBodySizeBytesBuilder()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getMaxDirectResponseBodySizeBytesFieldBuilder()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.com.google.protobuf.UInt32ValueOrBuilder
getMaxDirectResponseBodySizeBytesOrBuilder()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.Metadata
getMetadata()
The metadata field can be used to provide additional information about the route configuration.Metadata.Builder
getMetadataBuilder()
The metadata field can be used to provide additional information about the route configuration.private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
getMetadataFieldBuilder()
The metadata field can be used to provide additional information about the route configuration.MetadataOrBuilder
getMetadataOrBuilder()
The metadata field can be used to provide additional information about the route configuration.boolean
getMostSpecificHeaderMutationsWins()
Headers mutations at all levels are evaluated, if specified.java.util.Map<java.lang.String,com.google.protobuf.Any>
getMutableTypedPerFilterConfig()
Deprecated.java.lang.String
getName()
The name of the route configuration.com.google.protobuf.ByteString
getNameBytes()
The name of the route configuration.HeaderValueOption
getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.HeaderValueOption.Builder
getRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.java.util.List<HeaderValueOption.Builder>
getRequestHeadersToAddBuilderList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.int
getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getRequestHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.HeaderValueOptionOrBuilder
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.java.util.List<? extends HeaderValueOptionOrBuilder>
getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.java.lang.String
getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.com.google.protobuf.ByteString
getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.int
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.com.google.protobuf.ProtocolStringList
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.RouteAction.RequestMirrorPolicy
getRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteAction.RequestMirrorPolicy.Builder
getRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.java.util.List<RouteAction.RequestMirrorPolicy.Builder>
getRequestMirrorPoliciesBuilderList()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.int
getRequestMirrorPoliciesCount()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder>
getRequestMirrorPoliciesFieldBuilder()
java.util.List<RouteAction.RequestMirrorPolicy>
getRequestMirrorPoliciesList()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteAction.RequestMirrorPolicyOrBuilder
getRequestMirrorPoliciesOrBuilder(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.java.util.List<? extends RouteAction.RequestMirrorPolicyOrBuilder>
getRequestMirrorPoliciesOrBuilderList()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.HeaderValueOption
getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.HeaderValueOption.Builder
getResponseHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.java.util.List<HeaderValueOption.Builder>
getResponseHeadersToAddBuilderList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.int
getResponseHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getResponseHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.HeaderValueOptionOrBuilder
getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.java.util.List<? extends HeaderValueOptionOrBuilder>
getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.java.lang.String
getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.com.google.protobuf.ByteString
getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.int
getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.com.google.protobuf.ProtocolStringList
getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfig()
Deprecated.int
getTypedPerFilterConfigCount()
This field can be used to provide RouteConfiguration level per filter config.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfigMap()
This field can be used to provide RouteConfiguration level per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide RouteConfiguration level per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config.com.google.protobuf.BoolValue
getValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.com.google.protobuf.BoolValue.Builder
getValidateClustersBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
getValidateClustersFieldBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.com.google.protobuf.BoolValueOrBuilder
getValidateClustersOrBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.Vhds
getVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API.Vhds.Builder
getVhdsBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API.private com.google.protobuf.SingleFieldBuilder<Vhds,Vhds.Builder,VhdsOrBuilder>
getVhdsFieldBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API.VhdsOrBuilder
getVhdsOrBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API.VirtualHost
getVirtualHosts(int index)
An array of virtual hosts that make up the route table.VirtualHost.Builder
getVirtualHostsBuilder(int index)
An array of virtual hosts that make up the route table.java.util.List<VirtualHost.Builder>
getVirtualHostsBuilderList()
An array of virtual hosts that make up the route table.int
getVirtualHostsCount()
An array of virtual hosts that make up the route table.private com.google.protobuf.RepeatedFieldBuilder<VirtualHost,VirtualHost.Builder,VirtualHostOrBuilder>
getVirtualHostsFieldBuilder()
java.util.List<VirtualHost>
getVirtualHostsList()
An array of virtual hosts that make up the route table.VirtualHostOrBuilder
getVirtualHostsOrBuilder(int index)
An array of virtual hosts that make up the route table.java.util.List<? extends VirtualHostOrBuilder>
getVirtualHostsOrBuilderList()
An array of virtual hosts that make up the route table.boolean
hasMaxDirectResponseBodySizeBytes()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.boolean
hasMetadata()
The metadata field can be used to provide additional information about the route configuration.boolean
hasValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.boolean
hasVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetMutableTypedPerFilterConfig()
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetTypedPerFilterConfig()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
RouteConfiguration.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouteConfiguration.Builder
mergeFrom(com.google.protobuf.Message other)
RouteConfiguration.Builder
mergeFrom(RouteConfiguration other)
RouteConfiguration.Builder
mergeMaxDirectResponseBodySizeBytes(com.google.protobuf.UInt32Value value)
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.RouteConfiguration.Builder
mergeMetadata(Metadata value)
The metadata field can be used to provide additional information about the route configuration.RouteConfiguration.Builder
mergeValidateClusters(com.google.protobuf.BoolValue value)
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.RouteConfiguration.Builder
mergeVhds(Vhds value)
An array of virtual hosts will be dynamically loaded via the VHDS API.RouteConfiguration.Builder
putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide RouteConfiguration level per filter config.RouteConfiguration.Builder
putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide RouteConfiguration level per filter config.com.google.protobuf.Any.Builder
putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config.RouteConfiguration.Builder
removeClusterSpecifierPlugins(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
removeRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
removeRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
removeResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config.RouteConfiguration.Builder
removeVirtualHosts(int index)
An array of virtual hosts that make up the route table.RouteConfiguration.Builder
setClusterSpecifierPlugins(int index, ClusterSpecifierPlugin value)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
setClusterSpecifierPlugins(int index, ClusterSpecifierPlugin.Builder builderForValue)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route.RouteConfiguration.Builder
setIgnorePathParametersInPathMatching(boolean value)
Ignore path-parameters in path-matching.RouteConfiguration.Builder
setIgnorePortInHostMatching(boolean value)
By default, port in :authority header (if any) is used in host matching.RouteConfiguration.Builder
setInternalOnlyHeaders(int index, java.lang.String value)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.RouteConfiguration.Builder
setMaxDirectResponseBodySizeBytes(com.google.protobuf.UInt32Value value)
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.RouteConfiguration.Builder
setMaxDirectResponseBodySizeBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size.RouteConfiguration.Builder
setMetadata(Metadata value)
The metadata field can be used to provide additional information about the route configuration.RouteConfiguration.Builder
setMetadata(Metadata.Builder builderForValue)
The metadata field can be used to provide additional information about the route configuration.RouteConfiguration.Builder
setMostSpecificHeaderMutationsWins(boolean value)
Headers mutations at all levels are evaluated, if specified.RouteConfiguration.Builder
setName(java.lang.String value)
The name of the route configuration.RouteConfiguration.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the route configuration.RouteConfiguration.Builder
setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.RouteConfiguration.Builder
setRequestHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.RouteConfiguration.Builder
setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.RouteConfiguration.Builder
setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.RouteConfiguration.Builder
setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.RouteConfiguration.Builder
setValidateClusters(com.google.protobuf.BoolValue value)
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.RouteConfiguration.Builder
setValidateClusters(com.google.protobuf.BoolValue.Builder builderForValue)
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.RouteConfiguration.Builder
setVhds(Vhds value)
An array of virtual hosts will be dynamically loaded via the VHDS API.RouteConfiguration.Builder
setVhds(Vhds.Builder builderForValue)
An array of virtual hosts will be dynamically loaded via the VHDS API.RouteConfiguration.Builder
setVirtualHosts(int index, VirtualHost value)
An array of virtual hosts that make up the route table.RouteConfiguration.Builder
setVirtualHosts(int index, VirtualHost.Builder builderForValue)
An array of virtual hosts that make up the route table.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
virtualHosts_
private java.util.List<VirtualHost> virtualHosts_
-
virtualHostsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<VirtualHost,VirtualHost.Builder,VirtualHostOrBuilder> virtualHostsBuilder_
-
vhds_
private Vhds vhds_
-
vhdsBuilder_
private com.google.protobuf.SingleFieldBuilder<Vhds,Vhds.Builder,VhdsOrBuilder> vhdsBuilder_
-
internalOnlyHeaders_
private com.google.protobuf.LazyStringArrayList internalOnlyHeaders_
-
responseHeadersToAdd_
private java.util.List<HeaderValueOption> responseHeadersToAdd_
-
responseHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> responseHeadersToAddBuilder_
-
responseHeadersToRemove_
private com.google.protobuf.LazyStringArrayList responseHeadersToRemove_
-
requestHeadersToAdd_
private java.util.List<HeaderValueOption> requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> requestHeadersToAddBuilder_
-
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_
-
mostSpecificHeaderMutationsWins_
private boolean mostSpecificHeaderMutationsWins_
-
validateClusters_
private com.google.protobuf.BoolValue validateClusters_
-
validateClustersBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> validateClustersBuilder_
-
maxDirectResponseBodySizeBytes_
private com.google.protobuf.UInt32Value maxDirectResponseBodySizeBytes_
-
maxDirectResponseBodySizeBytesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> maxDirectResponseBodySizeBytesBuilder_
-
clusterSpecifierPlugins_
private java.util.List<ClusterSpecifierPlugin> clusterSpecifierPlugins_
-
clusterSpecifierPluginsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<ClusterSpecifierPlugin,ClusterSpecifierPlugin.Builder,ClusterSpecifierPluginOrBuilder> clusterSpecifierPluginsBuilder_
-
requestMirrorPolicies_
private java.util.List<RouteAction.RequestMirrorPolicy> requestMirrorPolicies_
-
requestMirrorPoliciesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder> requestMirrorPoliciesBuilder_
-
ignorePortInHostMatching_
private boolean ignorePortInHostMatching_
-
ignorePathParametersInPathMatching_
private boolean ignorePathParametersInPathMatching_
-
typedPerFilterConfigConverter
private static final RouteConfiguration.Builder.TypedPerFilterConfigConverter typedPerFilterConfigConverter
-
typedPerFilterConfig_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> typedPerFilterConfig_
-
metadata_
private Metadata metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> metadataBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public RouteConfiguration.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
getDefaultInstanceForType
public RouteConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteConfiguration build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteConfiguration buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(RouteConfiguration result)
-
buildPartial0
private void buildPartial0(RouteConfiguration result)
-
mergeFrom
public RouteConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteConfiguration.Builder>
-
mergeFrom
public RouteConfiguration.Builder mergeFrom(RouteConfiguration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RouteConfiguration.Builder>
-
mergeFrom
public RouteConfiguration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteConfiguration.Builder>
- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.Rds.route_config_name>` in :ref:`envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.Rds`.
string name = 1;
- Specified by:
getName
in interfaceRouteConfigurationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.Rds.route_config_name>` in :ref:`envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.Rds`.
string name = 1;
- Specified by:
getNameBytes
in interfaceRouteConfigurationOrBuilder
- Returns:
- The bytes for name.
-
setName
public RouteConfiguration.Builder setName(java.lang.String value)
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.Rds.route_config_name>` in :ref:`envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.Rds`.
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. For example, it might match :ref:`route_config_name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.Rds.route_config_name>` in :ref:`envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.Rds`.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public RouteConfiguration.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.Rds.route_config_name>` in :ref:`envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.Rds`.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
ensureVirtualHostsIsMutable
private void ensureVirtualHostsIsMutable()
-
getVirtualHostsList
public java.util.List<VirtualHost> getVirtualHostsList()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
- Specified by:
getVirtualHostsList
in interfaceRouteConfigurationOrBuilder
-
getVirtualHostsCount
public int getVirtualHostsCount()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
- Specified by:
getVirtualHostsCount
in interfaceRouteConfigurationOrBuilder
-
getVirtualHosts
public VirtualHost getVirtualHosts(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
- Specified by:
getVirtualHosts
in interfaceRouteConfigurationOrBuilder
-
setVirtualHosts
public RouteConfiguration.Builder setVirtualHosts(int index, VirtualHost value)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
setVirtualHosts
public RouteConfiguration.Builder setVirtualHosts(int index, VirtualHost.Builder builderForValue)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
addVirtualHosts
public RouteConfiguration.Builder addVirtualHosts(VirtualHost value)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
addVirtualHosts
public RouteConfiguration.Builder addVirtualHosts(int index, VirtualHost value)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
addVirtualHosts
public RouteConfiguration.Builder addVirtualHosts(VirtualHost.Builder builderForValue)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
addVirtualHosts
public RouteConfiguration.Builder addVirtualHosts(int index, VirtualHost.Builder builderForValue)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
addAllVirtualHosts
public RouteConfiguration.Builder addAllVirtualHosts(java.lang.Iterable<? extends VirtualHost> values)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
clearVirtualHosts
public RouteConfiguration.Builder clearVirtualHosts()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
removeVirtualHosts
public RouteConfiguration.Builder removeVirtualHosts(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
getVirtualHostsBuilder
public VirtualHost.Builder getVirtualHostsBuilder(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
getVirtualHostsOrBuilder
public VirtualHostOrBuilder getVirtualHostsOrBuilder(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
- Specified by:
getVirtualHostsOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getVirtualHostsOrBuilderList
public java.util.List<? extends VirtualHostOrBuilder> getVirtualHostsOrBuilderList()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
- Specified by:
getVirtualHostsOrBuilderList
in interfaceRouteConfigurationOrBuilder
-
addVirtualHostsBuilder
public VirtualHost.Builder addVirtualHostsBuilder()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
addVirtualHostsBuilder
public VirtualHost.Builder addVirtualHostsBuilder(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
getVirtualHostsBuilderList
public java.util.List<VirtualHost.Builder> getVirtualHostsBuilderList()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v3.VirtualHost virtual_hosts = 2;
-
getVirtualHostsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<VirtualHost,VirtualHost.Builder,VirtualHostOrBuilder> getVirtualHostsFieldBuilder()
-
hasVhds
public boolean hasVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
- Specified by:
hasVhds
in interfaceRouteConfigurationOrBuilder
- Returns:
- Whether the vhds field is set.
-
getVhds
public Vhds getVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
- Specified by:
getVhds
in interfaceRouteConfigurationOrBuilder
- Returns:
- The vhds.
-
setVhds
public RouteConfiguration.Builder setVhds(Vhds value)
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
-
setVhds
public RouteConfiguration.Builder setVhds(Vhds.Builder builderForValue)
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
-
mergeVhds
public RouteConfiguration.Builder mergeVhds(Vhds value)
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
-
clearVhds
public RouteConfiguration.Builder clearVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
-
getVhdsBuilder
public Vhds.Builder getVhdsBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
-
getVhdsOrBuilder
public VhdsOrBuilder getVhdsOrBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
- Specified by:
getVhdsOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getVhdsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Vhds,Vhds.Builder,VhdsOrBuilder> getVhdsFieldBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both ``virtual_hosts`` and ``vhds`` fields will be used when present. ``virtual_hosts`` can be used for a base routing table or for infrequently changing virtual hosts. ``vhds`` is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with ``vhds`` derived configuration taking precedence.
.envoy.config.route.v3.Vhds vhds = 9;
-
ensureInternalOnlyHeadersIsMutable
private void ensureInternalOnlyHeadersIsMutable()
-
getInternalOnlyHeadersList
public com.google.protobuf.ProtocolStringList getInternalOnlyHeadersList()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Specified by:
getInternalOnlyHeadersList
in interfaceRouteConfigurationOrBuilder
- Returns:
- A list containing the internalOnlyHeaders.
-
getInternalOnlyHeadersCount
public int getInternalOnlyHeadersCount()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Specified by:
getInternalOnlyHeadersCount
in interfaceRouteConfigurationOrBuilder
- Returns:
- The count of internalOnlyHeaders.
-
getInternalOnlyHeaders
public java.lang.String getInternalOnlyHeaders(int index)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Specified by:
getInternalOnlyHeaders
in interfaceRouteConfigurationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The internalOnlyHeaders at the given index.
-
getInternalOnlyHeadersBytes
public com.google.protobuf.ByteString getInternalOnlyHeadersBytes(int index)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Specified by:
getInternalOnlyHeadersBytes
in interfaceRouteConfigurationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the internalOnlyHeaders at the given index.
-
setInternalOnlyHeaders
public RouteConfiguration.Builder setInternalOnlyHeaders(int index, java.lang.String value)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The internalOnlyHeaders to set.- Returns:
- This builder for chaining.
-
addInternalOnlyHeaders
public RouteConfiguration.Builder addInternalOnlyHeaders(java.lang.String value)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Parameters:
value
- The internalOnlyHeaders to add.- Returns:
- This builder for chaining.
-
addAllInternalOnlyHeaders
public RouteConfiguration.Builder addAllInternalOnlyHeaders(java.lang.Iterable<java.lang.String> values)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Parameters:
values
- The internalOnlyHeaders to add.- Returns:
- This builder for chaining.
-
clearInternalOnlyHeaders
public RouteConfiguration.Builder clearInternalOnlyHeaders()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addInternalOnlyHeadersBytes
public RouteConfiguration.Builder addInternalOnlyHeadersBytes(com.google.protobuf.ByteString value)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the internalOnlyHeaders to add.- Returns:
- This builder for chaining.
-
ensureResponseHeadersToAddIsMutable
private void ensureResponseHeadersToAddIsMutable()
-
getResponseHeadersToAddList
public java.util.List<HeaderValueOption> getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddList
in interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddCount
in interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToAdd
public HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAdd
in interfaceRouteConfigurationOrBuilder
-
setResponseHeadersToAdd
public RouteConfiguration.Builder setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
setResponseHeadersToAdd
public RouteConfiguration.Builder setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public RouteConfiguration.Builder addResponseHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public RouteConfiguration.Builder addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public RouteConfiguration.Builder addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public RouteConfiguration.Builder addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
addAllResponseHeadersToAdd
public RouteConfiguration.Builder addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
clearResponseHeadersToAdd
public RouteConfiguration.Builder clearResponseHeadersToAdd()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
removeResponseHeadersToAdd
public RouteConfiguration.Builder removeResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilder
public HeaderValueOption.Builder getResponseHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
getResponseHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilderList
in interfaceRouteConfigurationOrBuilder
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
-
getResponseHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getResponseHeadersToAddFieldBuilder()
-
ensureResponseHeadersToRemoveIsMutable
private void ensureResponseHeadersToRemoveIsMutable()
-
getResponseHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveList
in interfaceRouteConfigurationOrBuilder
- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public int getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveCount
in interfaceRouteConfigurationOrBuilder
- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
public java.lang.String getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemove
in interfaceRouteConfigurationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveBytes
in interfaceRouteConfigurationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
setResponseHeadersToRemove
public RouteConfiguration.Builder setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The responseHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addResponseHeadersToRemove
public RouteConfiguration.Builder addResponseHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Parameters:
value
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllResponseHeadersToRemove
public RouteConfiguration.Builder addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Parameters:
values
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearResponseHeadersToRemove
public RouteConfiguration.Builder clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addResponseHeadersToRemoveBytes
public RouteConfiguration.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
ensureRequestHeadersToAddIsMutable
private void ensureRequestHeadersToAddIsMutable()
-
getRequestHeadersToAddList
public java.util.List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddList
in interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddCount
in interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToAdd
public HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAdd
in interfaceRouteConfigurationOrBuilder
-
setRequestHeadersToAdd
public RouteConfiguration.Builder setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
setRequestHeadersToAdd
public RouteConfiguration.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public RouteConfiguration.Builder addRequestHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public RouteConfiguration.Builder addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public RouteConfiguration.Builder addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public RouteConfiguration.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public RouteConfiguration.Builder addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
clearRequestHeadersToAdd
public RouteConfiguration.Builder clearRequestHeadersToAdd()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
removeRequestHeadersToAdd
public RouteConfiguration.Builder removeRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilder
public HeaderValueOption.Builder getRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilderList
in interfaceRouteConfigurationOrBuilder
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getRequestHeadersToAddFieldBuilder()
-
ensureRequestHeadersToRemoveIsMutable
private void ensureRequestHeadersToRemoveIsMutable()
-
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveList
in interfaceRouteConfigurationOrBuilder
- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveCount
in interfaceRouteConfigurationOrBuilder
- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public java.lang.String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemove
in interfaceRouteConfigurationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveBytes
in interfaceRouteConfigurationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
public RouteConfiguration.Builder setRequestHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public RouteConfiguration.Builder addRequestHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
value
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public RouteConfiguration.Builder addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
values
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
public RouteConfiguration.Builder clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public RouteConfiguration.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
getMostSpecificHeaderMutationsWins
public boolean getMostSpecificHeaderMutationsWins()
Headers mutations at all levels are evaluated, if specified. By default, the order is from most specific (i.e. route entry level) to least specific (i.e. route configuration level). Later header mutations may override earlier mutations. This order can be reversed by setting this field to true. In other words, most specific level mutation is evaluated last.
bool most_specific_header_mutations_wins = 10;
- Specified by:
getMostSpecificHeaderMutationsWins
in interfaceRouteConfigurationOrBuilder
- Returns:
- The mostSpecificHeaderMutationsWins.
-
setMostSpecificHeaderMutationsWins
public RouteConfiguration.Builder setMostSpecificHeaderMutationsWins(boolean value)
Headers mutations at all levels are evaluated, if specified. By default, the order is from most specific (i.e. route entry level) to least specific (i.e. route configuration level). Later header mutations may override earlier mutations. This order can be reversed by setting this field to true. In other words, most specific level mutation is evaluated last.
bool most_specific_header_mutations_wins = 10;
- Parameters:
value
- The mostSpecificHeaderMutationsWins to set.- Returns:
- This builder for chaining.
-
clearMostSpecificHeaderMutationsWins
public RouteConfiguration.Builder clearMostSpecificHeaderMutationsWins()
Headers mutations at all levels are evaluated, if specified. By default, the order is from most specific (i.e. route entry level) to least specific (i.e. route configuration level). Later header mutations may override earlier mutations. This order can be reversed by setting this field to true. In other words, most specific level mutation is evaluated last.
bool most_specific_header_mutations_wins = 10;
- Returns:
- This builder for chaining.
-
hasValidateClusters
public boolean hasValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
- Specified by:
hasValidateClusters
in interfaceRouteConfigurationOrBuilder
- Returns:
- Whether the validateClusters field is set.
-
getValidateClusters
public com.google.protobuf.BoolValue getValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
- Specified by:
getValidateClusters
in interfaceRouteConfigurationOrBuilder
- Returns:
- The validateClusters.
-
setValidateClusters
public RouteConfiguration.Builder setValidateClusters(com.google.protobuf.BoolValue value)
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
-
setValidateClusters
public RouteConfiguration.Builder setValidateClusters(com.google.protobuf.BoolValue.Builder builderForValue)
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
-
mergeValidateClusters
public RouteConfiguration.Builder mergeValidateClusters(com.google.protobuf.BoolValue value)
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
-
clearValidateClusters
public RouteConfiguration.Builder clearValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
-
getValidateClustersBuilder
public com.google.protobuf.BoolValue.Builder getValidateClustersBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
-
getValidateClustersOrBuilder
public com.google.protobuf.BoolValueOrBuilder getValidateClustersOrBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
- Specified by:
getValidateClustersOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getValidateClustersFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getValidateClustersFieldBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;
-
hasMaxDirectResponseBodySizeBytes
public boolean hasMaxDirectResponseBodySizeBytes()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
- Specified by:
hasMaxDirectResponseBodySizeBytes
in interfaceRouteConfigurationOrBuilder
- Returns:
- Whether the maxDirectResponseBodySizeBytes field is set.
-
getMaxDirectResponseBodySizeBytes
public com.google.protobuf.UInt32Value getMaxDirectResponseBodySizeBytes()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
- Specified by:
getMaxDirectResponseBodySizeBytes
in interfaceRouteConfigurationOrBuilder
- Returns:
- The maxDirectResponseBodySizeBytes.
-
setMaxDirectResponseBodySizeBytes
public RouteConfiguration.Builder setMaxDirectResponseBodySizeBytes(com.google.protobuf.UInt32Value value)
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
-
setMaxDirectResponseBodySizeBytes
public RouteConfiguration.Builder setMaxDirectResponseBodySizeBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
-
mergeMaxDirectResponseBodySizeBytes
public RouteConfiguration.Builder mergeMaxDirectResponseBodySizeBytes(com.google.protobuf.UInt32Value value)
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
-
clearMaxDirectResponseBodySizeBytes
public RouteConfiguration.Builder clearMaxDirectResponseBodySizeBytes()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
-
getMaxDirectResponseBodySizeBytesBuilder
public com.google.protobuf.UInt32Value.Builder getMaxDirectResponseBodySizeBytesBuilder()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
-
getMaxDirectResponseBodySizeBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxDirectResponseBodySizeBytesOrBuilder()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
- Specified by:
getMaxDirectResponseBodySizeBytesOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getMaxDirectResponseBodySizeBytesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getMaxDirectResponseBodySizeBytesFieldBuilder()
The maximum bytes of the response :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default is 4096. .. warning:: Envoy currently holds the content of :ref:`direct response body <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting this to be larger than the default 4KB, since the allocated memory for direct response body is not subject to data plane buffering controls.
.google.protobuf.UInt32Value max_direct_response_body_size_bytes = 11;
-
ensureClusterSpecifierPluginsIsMutable
private void ensureClusterSpecifierPluginsIsMutable()
-
getClusterSpecifierPluginsList
public java.util.List<ClusterSpecifierPlugin> getClusterSpecifierPluginsList()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
- Specified by:
getClusterSpecifierPluginsList
in interfaceRouteConfigurationOrBuilder
-
getClusterSpecifierPluginsCount
public int getClusterSpecifierPluginsCount()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
- Specified by:
getClusterSpecifierPluginsCount
in interfaceRouteConfigurationOrBuilder
-
getClusterSpecifierPlugins
public ClusterSpecifierPlugin getClusterSpecifierPlugins(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
- Specified by:
getClusterSpecifierPlugins
in interfaceRouteConfigurationOrBuilder
-
setClusterSpecifierPlugins
public RouteConfiguration.Builder setClusterSpecifierPlugins(int index, ClusterSpecifierPlugin value)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
setClusterSpecifierPlugins
public RouteConfiguration.Builder setClusterSpecifierPlugins(int index, ClusterSpecifierPlugin.Builder builderForValue)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
addClusterSpecifierPlugins
public RouteConfiguration.Builder addClusterSpecifierPlugins(ClusterSpecifierPlugin value)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
addClusterSpecifierPlugins
public RouteConfiguration.Builder addClusterSpecifierPlugins(int index, ClusterSpecifierPlugin value)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
addClusterSpecifierPlugins
public RouteConfiguration.Builder addClusterSpecifierPlugins(ClusterSpecifierPlugin.Builder builderForValue)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
addClusterSpecifierPlugins
public RouteConfiguration.Builder addClusterSpecifierPlugins(int index, ClusterSpecifierPlugin.Builder builderForValue)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
addAllClusterSpecifierPlugins
public RouteConfiguration.Builder addAllClusterSpecifierPlugins(java.lang.Iterable<? extends ClusterSpecifierPlugin> values)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
clearClusterSpecifierPlugins
public RouteConfiguration.Builder clearClusterSpecifierPlugins()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
removeClusterSpecifierPlugins
public RouteConfiguration.Builder removeClusterSpecifierPlugins(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
getClusterSpecifierPluginsBuilder
public ClusterSpecifierPlugin.Builder getClusterSpecifierPluginsBuilder(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
getClusterSpecifierPluginsOrBuilder
public ClusterSpecifierPluginOrBuilder getClusterSpecifierPluginsOrBuilder(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
- Specified by:
getClusterSpecifierPluginsOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getClusterSpecifierPluginsOrBuilderList
public java.util.List<? extends ClusterSpecifierPluginOrBuilder> getClusterSpecifierPluginsOrBuilderList()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
- Specified by:
getClusterSpecifierPluginsOrBuilderList
in interfaceRouteConfigurationOrBuilder
-
addClusterSpecifierPluginsBuilder
public ClusterSpecifierPlugin.Builder addClusterSpecifierPluginsBuilder()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
addClusterSpecifierPluginsBuilder
public ClusterSpecifierPlugin.Builder addClusterSpecifierPluginsBuilder(int index)
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
getClusterSpecifierPluginsBuilderList
public java.util.List<ClusterSpecifierPlugin.Builder> getClusterSpecifierPluginsBuilderList()
A list of plugins and their configurations which may be used by a :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>` within the route. All ``extension.name`` fields in this list must be unique.
repeated .envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier_plugins = 12;
-
getClusterSpecifierPluginsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<ClusterSpecifierPlugin,ClusterSpecifierPlugin.Builder,ClusterSpecifierPluginOrBuilder> getClusterSpecifierPluginsFieldBuilder()
-
ensureRequestMirrorPoliciesIsMutable
private void ensureRequestMirrorPoliciesIsMutable()
-
getRequestMirrorPoliciesList
public java.util.List<RouteAction.RequestMirrorPolicy> getRequestMirrorPoliciesList()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
- Specified by:
getRequestMirrorPoliciesList
in interfaceRouteConfigurationOrBuilder
-
getRequestMirrorPoliciesCount
public int getRequestMirrorPoliciesCount()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
- Specified by:
getRequestMirrorPoliciesCount
in interfaceRouteConfigurationOrBuilder
-
getRequestMirrorPolicies
public RouteAction.RequestMirrorPolicy getRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
- Specified by:
getRequestMirrorPolicies
in interfaceRouteConfigurationOrBuilder
-
setRequestMirrorPolicies
public RouteConfiguration.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
setRequestMirrorPolicies
public RouteConfiguration.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
addRequestMirrorPolicies
public RouteConfiguration.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
addRequestMirrorPolicies
public RouteConfiguration.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
addRequestMirrorPolicies
public RouteConfiguration.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
addRequestMirrorPolicies
public RouteConfiguration.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
addAllRequestMirrorPolicies
public RouteConfiguration.Builder addAllRequestMirrorPolicies(java.lang.Iterable<? extends RouteAction.RequestMirrorPolicy> values)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
clearRequestMirrorPolicies
public RouteConfiguration.Builder clearRequestMirrorPolicies()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
removeRequestMirrorPolicies
public RouteConfiguration.Builder removeRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
getRequestMirrorPoliciesBuilder
public RouteAction.RequestMirrorPolicy.Builder getRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
getRequestMirrorPoliciesOrBuilder
public RouteAction.RequestMirrorPolicyOrBuilder getRequestMirrorPoliciesOrBuilder(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
- Specified by:
getRequestMirrorPoliciesOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getRequestMirrorPoliciesOrBuilderList
public java.util.List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
- Specified by:
getRequestMirrorPoliciesOrBuilderList
in interfaceRouteConfigurationOrBuilder
-
addRequestMirrorPoliciesBuilder
public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
addRequestMirrorPoliciesBuilder
public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
getRequestMirrorPoliciesBuilderList
public java.util.List<RouteAction.RequestMirrorPolicy.Builder> getRequestMirrorPoliciesBuilderList()
Specify a set of default request mirroring policies which apply to all routes under its virtual hosts. Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 13;
-
getRequestMirrorPoliciesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesFieldBuilder()
-
getIgnorePortInHostMatching
public boolean getIgnorePortInHostMatching()
By default, port in :authority header (if any) is used in host matching. With this option enabled, Envoy will ignore the port number in the :authority header (if any) when picking VirtualHost. NOTE: this option will not strip the port number (if any) contained in route config :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`.domains field.
bool ignore_port_in_host_matching = 14;
- Specified by:
getIgnorePortInHostMatching
in interfaceRouteConfigurationOrBuilder
- Returns:
- The ignorePortInHostMatching.
-
setIgnorePortInHostMatching
public RouteConfiguration.Builder setIgnorePortInHostMatching(boolean value)
By default, port in :authority header (if any) is used in host matching. With this option enabled, Envoy will ignore the port number in the :authority header (if any) when picking VirtualHost. NOTE: this option will not strip the port number (if any) contained in route config :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`.domains field.
bool ignore_port_in_host_matching = 14;
- Parameters:
value
- The ignorePortInHostMatching to set.- Returns:
- This builder for chaining.
-
clearIgnorePortInHostMatching
public RouteConfiguration.Builder clearIgnorePortInHostMatching()
By default, port in :authority header (if any) is used in host matching. With this option enabled, Envoy will ignore the port number in the :authority header (if any) when picking VirtualHost. NOTE: this option will not strip the port number (if any) contained in route config :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`.domains field.
bool ignore_port_in_host_matching = 14;
- Returns:
- This builder for chaining.
-
getIgnorePathParametersInPathMatching
public boolean getIgnorePathParametersInPathMatching()
Ignore path-parameters in path-matching. Before RFC3986, URI were like(RFC1808): <scheme>://<net_loc>/<path>;<params>?<query>#<fragment> Envoy by default takes ":path" as "<path>;<params>". For users who want to only match path on the "<path>" portion, this option should be true.
bool ignore_path_parameters_in_path_matching = 15;
- Specified by:
getIgnorePathParametersInPathMatching
in interfaceRouteConfigurationOrBuilder
- Returns:
- The ignorePathParametersInPathMatching.
-
setIgnorePathParametersInPathMatching
public RouteConfiguration.Builder setIgnorePathParametersInPathMatching(boolean value)
Ignore path-parameters in path-matching. Before RFC3986, URI were like(RFC1808): <scheme>://<net_loc>/<path>;<params>?<query>#<fragment> Envoy by default takes ":path" as "<path>;<params>". For users who want to only match path on the "<path>" portion, this option should be true.
bool ignore_path_parameters_in_path_matching = 15;
- Parameters:
value
- The ignorePathParametersInPathMatching to set.- Returns:
- This builder for chaining.
-
clearIgnorePathParametersInPathMatching
public RouteConfiguration.Builder clearIgnorePathParametersInPathMatching()
Ignore path-parameters in path-matching. Before RFC3986, URI were like(RFC1808): <scheme>://<net_loc>/<path>;<params>?<query>#<fragment> Envoy by default takes ":path" as "<path>;<params>". For users who want to only match path on the "<path>" portion, this option should be true.
bool ignore_path_parameters_in_path_matching = 15;
- Returns:
- This builder for chaining.
-
internalGetTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetTypedPerFilterConfig()
-
internalGetMutableTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetMutableTypedPerFilterConfig()
-
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()
Description copied from interface:RouteConfigurationOrBuilder
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
- Specified by:
getTypedPerFilterConfigCount
in interfaceRouteConfigurationOrBuilder
-
containsTypedPerFilterConfig
public boolean containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
- Specified by:
containsTypedPerFilterConfig
in interfaceRouteConfigurationOrBuilder
-
getTypedPerFilterConfig
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()
instead.- Specified by:
getTypedPerFilterConfig
in interfaceRouteConfigurationOrBuilder
-
getTypedPerFilterConfigMap
public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
- Specified by:
getTypedPerFilterConfigMap
in interfaceRouteConfigurationOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
- Specified by:
getTypedPerFilterConfigOrDefault
in interfaceRouteConfigurationOrBuilder
-
getTypedPerFilterConfigOrThrow
public com.google.protobuf.Any getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
- Specified by:
getTypedPerFilterConfigOrThrow
in interfaceRouteConfigurationOrBuilder
-
clearTypedPerFilterConfig
public RouteConfiguration.Builder clearTypedPerFilterConfig()
-
removeTypedPerFilterConfig
public RouteConfiguration.Builder removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
-
getMutableTypedPerFilterConfig
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
Deprecated.Use alternate mutation accessors instead.
-
putTypedPerFilterConfig
public RouteConfiguration.Builder putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
-
putAllTypedPerFilterConfig
public RouteConfiguration.Builder putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
-
putTypedPerFilterConfigBuilderIfAbsent
public com.google.protobuf.Any.Builder putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide RouteConfiguration level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 16;
-
hasMetadata
public boolean hasMetadata()
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
- Specified by:
hasMetadata
in interfaceRouteConfigurationOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
- Specified by:
getMetadata
in interfaceRouteConfigurationOrBuilder
- Returns:
- The metadata.
-
setMetadata
public RouteConfiguration.Builder setMetadata(Metadata value)
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
-
setMetadata
public RouteConfiguration.Builder setMetadata(Metadata.Builder builderForValue)
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
-
mergeMetadata
public RouteConfiguration.Builder mergeMetadata(Metadata value)
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
-
clearMetadata
public RouteConfiguration.Builder clearMetadata()
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
-
getMetadataBuilder
public Metadata.Builder getMetadataBuilder()
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
- Specified by:
getMetadataOrBuilder
in interfaceRouteConfigurationOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> getMetadataFieldBuilder()
The metadata field can be used to provide additional information about the route configuration. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 17;
-
-