Class RouteMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
- io.envoyproxy.envoy.config.route.v3.RouteMatch.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteMatchOrBuilder,Cloneable
- Enclosing class:
- RouteMatch
public static final class RouteMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder> implements RouteMatchOrBuilder
[#next-free-field: 16]
Protobuf typeenvoy.config.route.v3.RouteMatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteMatch.BuilderaddAllDynamicMetadata(Iterable<? extends MetadataMatcher> values)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderaddAllHeaders(Iterable<? extends HeaderMatcher> values)Specifies a set of headers that the route should match on.RouteMatch.BuilderaddAllQueryParameters(Iterable<? extends QueryParameterMatcher> values)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuilderaddDynamicMetadata(int index, MetadataMatcher value)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderaddDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderaddDynamicMetadata(MetadataMatcher value)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderaddDynamicMetadata(MetadataMatcher.Builder builderForValue)Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcher.BuilderaddDynamicMetadataBuilder()Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcher.BuilderaddDynamicMetadataBuilder(int index)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderaddHeaders(int index, HeaderMatcher value)Specifies a set of headers that the route should match on.RouteMatch.BuilderaddHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of headers that the route should match on.RouteMatch.BuilderaddHeaders(HeaderMatcher value)Specifies a set of headers that the route should match on.RouteMatch.BuilderaddHeaders(HeaderMatcher.Builder builderForValue)Specifies a set of headers that the route should match on.HeaderMatcher.BuilderaddHeadersBuilder()Specifies a set of headers that the route should match on.HeaderMatcher.BuilderaddHeadersBuilder(int index)Specifies a set of headers that the route should match on.RouteMatch.BuilderaddQueryParameters(int index, QueryParameterMatcher value)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuilderaddQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuilderaddQueryParameters(QueryParameterMatcher value)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuilderaddQueryParameters(QueryParameterMatcher.Builder builderForValue)Specifies a set of URL query parameters on which the route should match.QueryParameterMatcher.BuilderaddQueryParametersBuilder()Specifies a set of URL query parameters on which the route should match.QueryParameterMatcher.BuilderaddQueryParametersBuilder(int index)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteMatchbuild()RouteMatchbuildPartial()RouteMatch.Builderclear()RouteMatch.BuilderclearCaseSensitive()Indicates that prefix/path matching should be case sensitive.RouteMatch.BuilderclearConnectMatcher()If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatch.BuilderclearDynamicMetadata()Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouteMatch.BuilderclearGrpc()If specified, only gRPC requests will be matched.RouteMatch.BuilderclearHeaders()Specifies a set of headers that the route should match on.RouteMatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouteMatch.BuilderclearPath()If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.RouteMatch.BuilderclearPathSeparatedPrefix()If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?RouteMatch.BuilderclearPathSpecifier()RouteMatch.BuilderclearPathTemplate()If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern.RouteMatch.BuilderclearPrefix()If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.RouteMatch.BuilderclearQueryParameters()Specifies a set of URL query parameters on which the route should match.RouteMatch.BuilderclearRuntimeFraction()Indicates that the route should additionally match on a runtime key.RouteMatch.BuilderclearSafeRegex()If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.BuilderclearTlsContext()If specified, the client tls context will be matched against the defined match options.RouteMatch.Builderclone()com.google.protobuf.BoolValuegetCaseSensitive()Indicates that prefix/path matching should be case sensitive.com.google.protobuf.BoolValue.BuildergetCaseSensitiveBuilder()Indicates that prefix/path matching should be case sensitive.com.google.protobuf.BoolValueOrBuildergetCaseSensitiveOrBuilder()Indicates that prefix/path matching should be case sensitive.RouteMatch.ConnectMatchergetConnectMatcher()If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatch.ConnectMatcher.BuildergetConnectMatcherBuilder()If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatch.ConnectMatcherOrBuildergetConnectMatcherOrBuilder()If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MetadataMatchergetDynamicMetadata(int index)Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcher.BuildergetDynamicMetadataBuilder(int index)Specifies a set of dynamic metadata matchers on which the route should match.List<MetadataMatcher.Builder>getDynamicMetadataBuilderList()Specifies a set of dynamic metadata matchers on which the route should match.intgetDynamicMetadataCount()Specifies a set of dynamic metadata matchers on which the route should match.List<MetadataMatcher>getDynamicMetadataList()Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcherOrBuildergetDynamicMetadataOrBuilder(int index)Specifies a set of dynamic metadata matchers on which the route should match.List<? extends MetadataMatcherOrBuilder>getDynamicMetadataOrBuilderList()Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.GrpcRouteMatchOptionsgetGrpc()If specified, only gRPC requests will be matched.RouteMatch.GrpcRouteMatchOptions.BuildergetGrpcBuilder()If specified, only gRPC requests will be matched.RouteMatch.GrpcRouteMatchOptionsOrBuildergetGrpcOrBuilder()If specified, only gRPC requests will be matched.HeaderMatchergetHeaders(int index)Specifies a set of headers that the route should match on.HeaderMatcher.BuildergetHeadersBuilder(int index)Specifies a set of headers that the route should match on.List<HeaderMatcher.Builder>getHeadersBuilderList()Specifies a set of headers that the route should match on.intgetHeadersCount()Specifies a set of headers that the route should match on.List<HeaderMatcher>getHeadersList()Specifies a set of headers that the route should match on.HeaderMatcherOrBuildergetHeadersOrBuilder(int index)Specifies a set of headers that the route should match on.List<? extends HeaderMatcherOrBuilder>getHeadersOrBuilderList()Specifies a set of headers that the route should match on.StringgetPath()If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.com.google.protobuf.ByteStringgetPathBytes()If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.StringgetPathSeparatedPrefix()If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?com.google.protobuf.ByteStringgetPathSeparatedPrefixBytes()If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?RouteMatch.PathSpecifierCasegetPathSpecifierCase()StringgetPathTemplate()If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern.com.google.protobuf.ByteStringgetPathTemplateBytes()If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern.StringgetPrefix()If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.com.google.protobuf.ByteStringgetPrefixBytes()If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.QueryParameterMatchergetQueryParameters(int index)Specifies a set of URL query parameters on which the route should match.QueryParameterMatcher.BuildergetQueryParametersBuilder(int index)Specifies a set of URL query parameters on which the route should match.List<QueryParameterMatcher.Builder>getQueryParametersBuilderList()Specifies a set of URL query parameters on which the route should match.intgetQueryParametersCount()Specifies a set of URL query parameters on which the route should match.List<QueryParameterMatcher>getQueryParametersList()Specifies a set of URL query parameters on which the route should match.QueryParameterMatcherOrBuildergetQueryParametersOrBuilder(int index)Specifies a set of URL query parameters on which the route should match.List<? extends QueryParameterMatcherOrBuilder>getQueryParametersOrBuilderList()Specifies a set of URL query parameters on which the route should match.RuntimeFractionalPercentgetRuntimeFraction()Indicates that the route should additionally match on a runtime key.RuntimeFractionalPercent.BuildergetRuntimeFractionBuilder()Indicates that the route should additionally match on a runtime key.RuntimeFractionalPercentOrBuildergetRuntimeFractionOrBuilder()Indicates that the route should additionally match on a runtime key.RegexMatchergetSafeRegex()If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RegexMatcher.BuildergetSafeRegexBuilder()If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RegexMatcherOrBuildergetSafeRegexOrBuilder()If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.TlsContextMatchOptionsgetTlsContext()If specified, the client tls context will be matched against the defined match options.RouteMatch.TlsContextMatchOptions.BuildergetTlsContextBuilder()If specified, the client tls context will be matched against the defined match options.RouteMatch.TlsContextMatchOptionsOrBuildergetTlsContextOrBuilder()If specified, the client tls context will be matched against the defined match options.booleanhasCaseSensitive()Indicates that prefix/path matching should be case sensitive.booleanhasConnectMatcher()If this is used as the matcher, the matcher will only match CONNECT requests.booleanhasGrpc()If specified, only gRPC requests will be matched.booleanhasPath()If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.booleanhasPathSeparatedPrefix()If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?booleanhasPathTemplate()If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern.booleanhasPrefix()If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.booleanhasRuntimeFraction()Indicates that the route should additionally match on a runtime key.booleanhasSafeRegex()If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.booleanhasTlsContext()If specified, the client tls context will be matched against the defined match options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouteMatch.BuildermergeCaseSensitive(com.google.protobuf.BoolValue value)Indicates that prefix/path matching should be case sensitive.RouteMatch.BuildermergeConnectMatcher(RouteMatch.ConnectMatcher value)If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouteMatch.BuildermergeFrom(com.google.protobuf.Message other)RouteMatch.BuildermergeFrom(RouteMatch other)RouteMatch.BuildermergeGrpc(RouteMatch.GrpcRouteMatchOptions value)If specified, only gRPC requests will be matched.RouteMatch.BuildermergeRuntimeFraction(RuntimeFractionalPercent value)Indicates that the route should additionally match on a runtime key.RouteMatch.BuildermergeSafeRegex(RegexMatcher value)If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.BuildermergeTlsContext(RouteMatch.TlsContextMatchOptions value)If specified, the client tls context will be matched against the defined match options.RouteMatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouteMatch.BuilderremoveDynamicMetadata(int index)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuilderremoveHeaders(int index)Specifies a set of headers that the route should match on.RouteMatch.BuilderremoveQueryParameters(int index)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuildersetCaseSensitive(com.google.protobuf.BoolValue value)Indicates that prefix/path matching should be case sensitive.RouteMatch.BuildersetCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)Indicates that prefix/path matching should be case sensitive.RouteMatch.BuildersetConnectMatcher(RouteMatch.ConnectMatcher value)If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatch.BuildersetConnectMatcher(RouteMatch.ConnectMatcher.Builder builderForValue)If this is used as the matcher, the matcher will only match CONNECT requests.RouteMatch.BuildersetDynamicMetadata(int index, MetadataMatcher value)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuildersetDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteMatch.BuildersetGrpc(RouteMatch.GrpcRouteMatchOptions value)If specified, only gRPC requests will be matched.RouteMatch.BuildersetGrpc(RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)If specified, only gRPC requests will be matched.RouteMatch.BuildersetHeaders(int index, HeaderMatcher value)Specifies a set of headers that the route should match on.RouteMatch.BuildersetHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of headers that the route should match on.RouteMatch.BuildersetPath(String value)If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.RouteMatch.BuildersetPathBytes(com.google.protobuf.ByteString value)If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.RouteMatch.BuildersetPathSeparatedPrefix(String value)If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?RouteMatch.BuildersetPathSeparatedPrefixBytes(com.google.protobuf.ByteString value)If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?RouteMatch.BuildersetPathTemplate(String value)If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern.RouteMatch.BuildersetPathTemplateBytes(com.google.protobuf.ByteString value)If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern.RouteMatch.BuildersetPrefix(String value)If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.RouteMatch.BuildersetPrefixBytes(com.google.protobuf.ByteString value)If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.RouteMatch.BuildersetQueryParameters(int index, QueryParameterMatcher value)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuildersetQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)Specifies a set of URL query parameters on which the route should match.RouteMatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouteMatch.BuildersetRuntimeFraction(RuntimeFractionalPercent value)Indicates that the route should additionally match on a runtime key.RouteMatch.BuildersetRuntimeFraction(RuntimeFractionalPercent.Builder builderForValue)Indicates that the route should additionally match on a runtime key.RouteMatch.BuildersetSafeRegex(RegexMatcher value)If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.BuildersetSafeRegex(RegexMatcher.Builder builderForValue)If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.BuildersetTlsContext(RouteMatch.TlsContextMatchOptions value)If specified, the client tls context will be matched against the defined match options.RouteMatch.BuildersetTlsContext(RouteMatch.TlsContextMatchOptions.Builder builderForValue)If specified, the client tls context will be matched against the defined match options.RouteMatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
clear
public RouteMatch.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
getDefaultInstanceForType
public RouteMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteMatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteMatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouteMatch.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
setField
public RouteMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
clearField
public RouteMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
clearOneof
public RouteMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
setRepeatedField
public RouteMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
addRepeatedField
public RouteMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
mergeFrom
public RouteMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>
-
mergeFrom
public RouteMatch.Builder mergeFrom(RouteMatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
mergeFrom
public RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>- Throws:
IOException
-
getPathSpecifierCase
public RouteMatch.PathSpecifierCase getPathSpecifierCase()
- Specified by:
getPathSpecifierCasein interfaceRouteMatchOrBuilder
-
clearPathSpecifier
public RouteMatch.Builder clearPathSpecifier()
-
hasPrefix
public boolean hasPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;- Specified by:
hasPrefixin interfaceRouteMatchOrBuilder- Returns:
- Whether the prefix field is set.
-
getPrefix
public String getPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;- Specified by:
getPrefixin interfaceRouteMatchOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;- Specified by:
getPrefixBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
public RouteMatch.Builder setPrefix(String value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;- Parameters:
value- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public RouteMatch.Builder clearPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;- Returns:
- This builder for chaining.
-
setPrefixBytes
public RouteMatch.Builder setPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;- Parameters:
value- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;- Specified by:
hasPathin interfaceRouteMatchOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;- Specified by:
getPathin interfaceRouteMatchOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;- Specified by:
getPathBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for path.
-
setPath
public RouteMatch.Builder setPath(String value)
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public RouteMatch.Builder clearPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;- Returns:
- This builder for chaining.
-
setPathBytes
public RouteMatch.Builder setPathBytes(com.google.protobuf.ByteString value)
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasSafeRegex
public boolean hasSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }- Specified by:
hasSafeRegexin interfaceRouteMatchOrBuilder- Returns:
- Whether the safeRegex field is set.
-
getSafeRegex
public RegexMatcher getSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }- Specified by:
getSafeRegexin interfaceRouteMatchOrBuilder- Returns:
- The safeRegex.
-
setSafeRegex
public RouteMatch.Builder setSafeRegex(RegexMatcher value)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
setSafeRegex
public RouteMatch.Builder setSafeRegex(RegexMatcher.Builder builderForValue)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
mergeSafeRegex
public RouteMatch.Builder mergeSafeRegex(RegexMatcher value)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
clearSafeRegex
public RouteMatch.Builder clearSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
getSafeRegexBuilder
public RegexMatcher.Builder getSafeRegexBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
getSafeRegexOrBuilder
public RegexMatcherOrBuilder getSafeRegexOrBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }- Specified by:
getSafeRegexOrBuilderin interfaceRouteMatchOrBuilder
-
hasConnectMatcher
public boolean hasConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;- Specified by:
hasConnectMatcherin interfaceRouteMatchOrBuilder- Returns:
- Whether the connectMatcher field is set.
-
getConnectMatcher
public RouteMatch.ConnectMatcher getConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;- Specified by:
getConnectMatcherin interfaceRouteMatchOrBuilder- Returns:
- The connectMatcher.
-
setConnectMatcher
public RouteMatch.Builder setConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
setConnectMatcher
public RouteMatch.Builder setConnectMatcher(RouteMatch.ConnectMatcher.Builder builderForValue)
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
mergeConnectMatcher
public RouteMatch.Builder mergeConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
clearConnectMatcher
public RouteMatch.Builder clearConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
getConnectMatcherBuilder
public RouteMatch.ConnectMatcher.Builder getConnectMatcherBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
getConnectMatcherOrBuilder
public RouteMatch.ConnectMatcherOrBuilder getConnectMatcherOrBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;- Specified by:
getConnectMatcherOrBuilderin interfaceRouteMatchOrBuilder
-
hasPathSeparatedPrefix
public boolean hasPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }- Specified by:
hasPathSeparatedPrefixin interfaceRouteMatchOrBuilder- Returns:
- Whether the pathSeparatedPrefix field is set.
-
getPathSeparatedPrefix
public String getPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }- Specified by:
getPathSeparatedPrefixin interfaceRouteMatchOrBuilder- Returns:
- The pathSeparatedPrefix.
-
getPathSeparatedPrefixBytes
public com.google.protobuf.ByteString getPathSeparatedPrefixBytes()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }- Specified by:
getPathSeparatedPrefixBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for pathSeparatedPrefix.
-
setPathSeparatedPrefix
public RouteMatch.Builder setPathSeparatedPrefix(String value)
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }- Parameters:
value- The pathSeparatedPrefix to set.- Returns:
- This builder for chaining.
-
clearPathSeparatedPrefix
public RouteMatch.Builder clearPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setPathSeparatedPrefixBytes
public RouteMatch.Builder setPathSeparatedPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }- Parameters:
value- The bytes for pathSeparatedPrefix to set.- Returns:
- This builder for chaining.
-
hasPathTemplate
public boolean hasPathTemplate()
If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` [#not-implemented-hide:]string path_template = 15 [(.validate.rules) = { ... }- Specified by:
hasPathTemplatein interfaceRouteMatchOrBuilder- Returns:
- Whether the pathTemplate field is set.
-
getPathTemplate
public String getPathTemplate()
If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` [#not-implemented-hide:]string path_template = 15 [(.validate.rules) = { ... }- Specified by:
getPathTemplatein interfaceRouteMatchOrBuilder- Returns:
- The pathTemplate.
-
getPathTemplateBytes
public com.google.protobuf.ByteString getPathTemplateBytes()
If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` [#not-implemented-hide:]string path_template = 15 [(.validate.rules) = { ... }- Specified by:
getPathTemplateBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for pathTemplate.
-
setPathTemplate
public RouteMatch.Builder setPathTemplate(String value)
If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` [#not-implemented-hide:]string path_template = 15 [(.validate.rules) = { ... }- Parameters:
value- The pathTemplate to set.- Returns:
- This builder for chaining.
-
clearPathTemplate
public RouteMatch.Builder clearPathTemplate()
If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` [#not-implemented-hide:]string path_template = 15 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setPathTemplateBytes
public RouteMatch.Builder setPathTemplateBytes(com.google.protobuf.ByteString value)
If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` [#not-implemented-hide:]string path_template = 15 [(.validate.rules) = { ... }- Parameters:
value- The bytes for pathTemplate to set.- Returns:
- This builder for chaining.
-
hasCaseSensitive
public boolean hasCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;- Specified by:
hasCaseSensitivein interfaceRouteMatchOrBuilder- Returns:
- Whether the caseSensitive field is set.
-
getCaseSensitive
public com.google.protobuf.BoolValue getCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;- Specified by:
getCaseSensitivein interfaceRouteMatchOrBuilder- Returns:
- The caseSensitive.
-
setCaseSensitive
public RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
setCaseSensitive
public RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
mergeCaseSensitive
public RouteMatch.Builder mergeCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
clearCaseSensitive
public RouteMatch.Builder clearCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
getCaseSensitiveBuilder
public com.google.protobuf.BoolValue.Builder getCaseSensitiveBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
getCaseSensitiveOrBuilder
public com.google.protobuf.BoolValueOrBuilder getCaseSensitiveOrBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;- Specified by:
getCaseSensitiveOrBuilderin interfaceRouteMatchOrBuilder
-
hasRuntimeFraction
public boolean hasRuntimeFraction()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;- Specified by:
hasRuntimeFractionin interfaceRouteMatchOrBuilder- Returns:
- Whether the runtimeFraction field is set.
-
getRuntimeFraction
public RuntimeFractionalPercent getRuntimeFraction()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;- Specified by:
getRuntimeFractionin interfaceRouteMatchOrBuilder- Returns:
- The runtimeFraction.
-
setRuntimeFraction
public RouteMatch.Builder setRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
setRuntimeFraction
public RouteMatch.Builder setRuntimeFraction(RuntimeFractionalPercent.Builder builderForValue)
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
mergeRuntimeFraction
public RouteMatch.Builder mergeRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
clearRuntimeFraction
public RouteMatch.Builder clearRuntimeFraction()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
getRuntimeFractionBuilder
public RuntimeFractionalPercent.Builder getRuntimeFractionBuilder()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
getRuntimeFractionOrBuilder
public RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics..envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;- Specified by:
getRuntimeFractionOrBuilderin interfaceRouteMatchOrBuilder
-
getHeadersList
public List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;- Specified by:
getHeadersListin interfaceRouteMatchOrBuilder
-
getHeadersCount
public int getHeadersCount()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;- Specified by:
getHeadersCountin interfaceRouteMatchOrBuilder
-
getHeaders
public HeaderMatcher getHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;- Specified by:
getHeadersin interfaceRouteMatchOrBuilder
-
setHeaders
public RouteMatch.Builder setHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
setHeaders
public RouteMatch.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addAllHeaders
public RouteMatch.Builder addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
clearHeaders
public RouteMatch.Builder clearHeaders()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
removeHeaders
public RouteMatch.Builder removeHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersBuilder
public HeaderMatcher.Builder getHeadersBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersOrBuilder
public HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;- Specified by:
getHeadersOrBuilderin interfaceRouteMatchOrBuilder
-
getHeadersOrBuilderList
public List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;- Specified by:
getHeadersOrBuilderListin interfaceRouteMatchOrBuilder
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersBuilderList
public List<HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getQueryParametersList
public List<QueryParameterMatcher> getQueryParametersList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersListin interfaceRouteMatchOrBuilder
-
getQueryParametersCount
public int getQueryParametersCount()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersCountin interfaceRouteMatchOrBuilder
-
getQueryParameters
public QueryParameterMatcher getQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersin interfaceRouteMatchOrBuilder
-
setQueryParameters
public RouteMatch.Builder setQueryParameters(int index, QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
setQueryParameters
public RouteMatch.Builder setQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(int index, QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addAllQueryParameters
public RouteMatch.Builder addAllQueryParameters(Iterable<? extends QueryParameterMatcher> values)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
clearQueryParameters
public RouteMatch.Builder clearQueryParameters()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
removeQueryParameters
public RouteMatch.Builder removeQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersBuilder
public QueryParameterMatcher.Builder getQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersOrBuilder
public QueryParameterMatcherOrBuilder getQueryParametersOrBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersOrBuilderin interfaceRouteMatchOrBuilder
-
getQueryParametersOrBuilderList
public List<? extends QueryParameterMatcherOrBuilder> getQueryParametersOrBuilderList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersOrBuilderListin interfaceRouteMatchOrBuilder
-
addQueryParametersBuilder
public QueryParameterMatcher.Builder addQueryParametersBuilder()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParametersBuilder
public QueryParameterMatcher.Builder addQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersBuilderList
public List<QueryParameterMatcher.Builder> getQueryParametersBuilderList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
hasGrpc
public boolean hasGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;- Specified by:
hasGrpcin interfaceRouteMatchOrBuilder- Returns:
- Whether the grpc field is set.
-
getGrpc
public RouteMatch.GrpcRouteMatchOptions getGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;- Specified by:
getGrpcin interfaceRouteMatchOrBuilder- Returns:
- The grpc.
-
setGrpc
public RouteMatch.Builder setGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
setGrpc
public RouteMatch.Builder setGrpc(RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
mergeGrpc
public RouteMatch.Builder mergeGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
clearGrpc
public RouteMatch.Builder clearGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
getGrpcBuilder
public RouteMatch.GrpcRouteMatchOptions.Builder getGrpcBuilder()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
getGrpcOrBuilder
public RouteMatch.GrpcRouteMatchOptionsOrBuilder getGrpcOrBuilder()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;- Specified by:
getGrpcOrBuilderin interfaceRouteMatchOrBuilder
-
hasTlsContext
public boolean hasTlsContext()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;- Specified by:
hasTlsContextin interfaceRouteMatchOrBuilder- Returns:
- Whether the tlsContext field is set.
-
getTlsContext
public RouteMatch.TlsContextMatchOptions getTlsContext()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;- Specified by:
getTlsContextin interfaceRouteMatchOrBuilder- Returns:
- The tlsContext.
-
setTlsContext
public RouteMatch.Builder setTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
setTlsContext
public RouteMatch.Builder setTlsContext(RouteMatch.TlsContextMatchOptions.Builder builderForValue)
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
mergeTlsContext
public RouteMatch.Builder mergeTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
clearTlsContext
public RouteMatch.Builder clearTlsContext()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
getTlsContextBuilder
public RouteMatch.TlsContextMatchOptions.Builder getTlsContextBuilder()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
getTlsContextOrBuilder
public RouteMatch.TlsContextMatchOptionsOrBuilder getTlsContextOrBuilder()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;- Specified by:
getTlsContextOrBuilderin interfaceRouteMatchOrBuilder
-
getDynamicMetadataList
public List<MetadataMatcher> getDynamicMetadataList()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;- Specified by:
getDynamicMetadataListin interfaceRouteMatchOrBuilder
-
getDynamicMetadataCount
public int getDynamicMetadataCount()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;- Specified by:
getDynamicMetadataCountin interfaceRouteMatchOrBuilder
-
getDynamicMetadata
public MetadataMatcher getDynamicMetadata(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;- Specified by:
getDynamicMetadatain interfaceRouteMatchOrBuilder
-
setDynamicMetadata
public RouteMatch.Builder setDynamicMetadata(int index, MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
setDynamicMetadata
public RouteMatch.Builder setDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(int index, MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addAllDynamicMetadata
public RouteMatch.Builder addAllDynamicMetadata(Iterable<? extends MetadataMatcher> values)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
clearDynamicMetadata
public RouteMatch.Builder clearDynamicMetadata()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
removeDynamicMetadata
public RouteMatch.Builder removeDynamicMetadata(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataBuilder
public MetadataMatcher.Builder getDynamicMetadataBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataOrBuilder
public MetadataMatcherOrBuilder getDynamicMetadataOrBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;- Specified by:
getDynamicMetadataOrBuilderin interfaceRouteMatchOrBuilder
-
getDynamicMetadataOrBuilderList
public List<? extends MetadataMatcherOrBuilder> getDynamicMetadataOrBuilderList()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;- Specified by:
getDynamicMetadataOrBuilderListin interfaceRouteMatchOrBuilder
-
addDynamicMetadataBuilder
public MetadataMatcher.Builder addDynamicMetadataBuilder()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadataBuilder
public MetadataMatcher.Builder addDynamicMetadataBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataBuilderList
public List<MetadataMatcher.Builder> getDynamicMetadataBuilderList()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
setUnknownFields
public final RouteMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
mergeUnknownFields
public final RouteMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
-