Package com.google.cloud.compute.v1
Class HttpRouteRuleMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
- com.google.cloud.compute.v1.HttpRouteRuleMatch.Builder
-
- All Implemented Interfaces:
HttpRouteRuleMatchOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- HttpRouteRuleMatch
public static final class HttpRouteRuleMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder> implements HttpRouteRuleMatchOrBuilder
HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.
Protobuf typegoogle.cloud.compute.v1.HttpRouteRuleMatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRouteRuleMatch.Builder
addAllHeaderMatches(Iterable<? extends HttpHeaderMatch> values)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
addAllMetadataFilters(Iterable<? extends MetadataFilter> values)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
addAllQueryParameterMatches(Iterable<? extends HttpQueryParameterMatch> values)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
addHeaderMatches(int index, HttpHeaderMatch value)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
addHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
addHeaderMatches(HttpHeaderMatch value)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
addHeaderMatches(HttpHeaderMatch.Builder builderForValue)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpHeaderMatch.Builder
addHeaderMatchesBuilder()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpHeaderMatch.Builder
addHeaderMatchesBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
addMetadataFilters(int index, MetadataFilter value)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
addMetadataFilters(int index, MetadataFilter.Builder builderForValue)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
addMetadataFilters(MetadataFilter value)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
addMetadataFilters(MetadataFilter.Builder builderForValue)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.MetadataFilter.Builder
addMetadataFiltersBuilder()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.MetadataFilter.Builder
addMetadataFiltersBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
addQueryParameterMatches(int index, HttpQueryParameterMatch value)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
addQueryParameterMatches(int index, HttpQueryParameterMatch.Builder builderForValue)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
addQueryParameterMatches(HttpQueryParameterMatch value)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
addQueryParameterMatches(HttpQueryParameterMatch.Builder builderForValue)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpQueryParameterMatch.Builder
addQueryParameterMatchesBuilder()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpQueryParameterMatch.Builder
addQueryParameterMatchesBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HttpRouteRuleMatch
build()
HttpRouteRuleMatch
buildPartial()
HttpRouteRuleMatch.Builder
clear()
HttpRouteRuleMatch.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
HttpRouteRuleMatch.Builder
clearFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.HttpRouteRuleMatch.Builder
clearHeaderMatches()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
clearIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive.HttpRouteRuleMatch.Builder
clearMetadataFilters()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
HttpRouteRuleMatch.Builder
clearPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed.HttpRouteRuleMatch.Builder
clearPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.HttpRouteRuleMatch.Builder
clearQueryParameterMatches()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
clearRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.HttpRouteRuleMatch.Builder
clone()
HttpRouteRuleMatch
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.com.google.protobuf.ByteString
getFullPathMatchBytes()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.HttpHeaderMatch
getHeaderMatches(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpHeaderMatch.Builder
getHeaderMatchesBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.List<HttpHeaderMatch.Builder>
getHeaderMatchesBuilderList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.int
getHeaderMatchesCount()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.List<HttpHeaderMatch>
getHeaderMatchesList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpHeaderMatchOrBuilder
getHeaderMatchesOrBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.List<? extends HttpHeaderMatchOrBuilder>
getHeaderMatchesOrBuilderList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.boolean
getIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive.MetadataFilter
getMetadataFilters(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.MetadataFilter.Builder
getMetadataFiltersBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.List<MetadataFilter.Builder>
getMetadataFiltersBuilderList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.int
getMetadataFiltersCount()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.List<MetadataFilter>
getMetadataFiltersList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.MetadataFilterOrBuilder
getMetadataFiltersOrBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.List<? extends MetadataFilterOrBuilder>
getMetadataFiltersOrBuilderList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.String
getPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed.com.google.protobuf.ByteString
getPathTemplateMatchBytes()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed.String
getPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.com.google.protobuf.ByteString
getPrefixMatchBytes()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.HttpQueryParameterMatch
getQueryParameterMatches(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpQueryParameterMatch.Builder
getQueryParameterMatchesBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.List<HttpQueryParameterMatch.Builder>
getQueryParameterMatchesBuilderList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.int
getQueryParameterMatchesCount()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.List<HttpQueryParameterMatch>
getQueryParameterMatchesList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpQueryParameterMatchOrBuilder
getQueryParameterMatchesOrBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.List<? extends HttpQueryParameterMatchOrBuilder>
getQueryParameterMatchesOrBuilderList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.String
getRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.com.google.protobuf.ByteString
getRegexMatchBytes()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.boolean
hasFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.boolean
hasIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive.boolean
hasPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed.boolean
hasPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.boolean
hasRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
HttpRouteRuleMatch.Builder
mergeFrom(HttpRouteRuleMatch other)
HttpRouteRuleMatch.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HttpRouteRuleMatch.Builder
mergeFrom(com.google.protobuf.Message other)
HttpRouteRuleMatch.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HttpRouteRuleMatch.Builder
removeHeaderMatches(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
removeMetadataFilters(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
removeQueryParameterMatches(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HttpRouteRuleMatch.Builder
setFullPathMatch(String value)
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.HttpRouteRuleMatch.Builder
setFullPathMatchBytes(com.google.protobuf.ByteString value)
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.HttpRouteRuleMatch.Builder
setHeaderMatches(int index, HttpHeaderMatch value)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
setHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.HttpRouteRuleMatch.Builder
setIgnoreCase(boolean value)
Specifies that prefixMatch and fullPathMatch matches are case sensitive.HttpRouteRuleMatch.Builder
setMetadataFilters(int index, MetadataFilter value)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
setMetadataFilters(int index, MetadataFilter.Builder builderForValue)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.HttpRouteRuleMatch.Builder
setPathTemplateMatch(String value)
If specified, the route is a pattern match expression that must match the :path header once the query string is removed.HttpRouteRuleMatch.Builder
setPathTemplateMatchBytes(com.google.protobuf.ByteString value)
If specified, the route is a pattern match expression that must match the :path header once the query string is removed.HttpRouteRuleMatch.Builder
setPrefixMatch(String value)
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.HttpRouteRuleMatch.Builder
setPrefixMatchBytes(com.google.protobuf.ByteString value)
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.HttpRouteRuleMatch.Builder
setQueryParameterMatches(int index, HttpQueryParameterMatch value)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
setQueryParameterMatches(int index, HttpQueryParameterMatch.Builder builderForValue)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.HttpRouteRuleMatch.Builder
setRegexMatch(String value)
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.HttpRouteRuleMatch.Builder
setRegexMatchBytes(com.google.protobuf.ByteString value)
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL.HttpRouteRuleMatch.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
HttpRouteRuleMatch.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
clear
public HttpRouteRuleMatch.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
getDefaultInstanceForType
public HttpRouteRuleMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpRouteRuleMatch build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpRouteRuleMatch buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HttpRouteRuleMatch.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
setField
public HttpRouteRuleMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
clearField
public HttpRouteRuleMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
clearOneof
public HttpRouteRuleMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
setRepeatedField
public HttpRouteRuleMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
addRepeatedField
public HttpRouteRuleMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
mergeFrom
public HttpRouteRuleMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpRouteRuleMatch.Builder>
-
mergeFrom
public HttpRouteRuleMatch.Builder mergeFrom(HttpRouteRuleMatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
mergeFrom
public HttpRouteRuleMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpRouteRuleMatch.Builder>
- Throws:
IOException
-
hasFullPathMatch
public boolean hasFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;
- Specified by:
hasFullPathMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- Whether the fullPathMatch field is set.
-
getFullPathMatch
public String getFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;
- Specified by:
getFullPathMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The fullPathMatch.
-
getFullPathMatchBytes
public com.google.protobuf.ByteString getFullPathMatchBytes()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;
- Specified by:
getFullPathMatchBytes
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The bytes for fullPathMatch.
-
setFullPathMatch
public HttpRouteRuleMatch.Builder setFullPathMatch(String value)
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;
- Parameters:
value
- The fullPathMatch to set.- Returns:
- This builder for chaining.
-
clearFullPathMatch
public HttpRouteRuleMatch.Builder clearFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;
- Returns:
- This builder for chaining.
-
setFullPathMatchBytes
public HttpRouteRuleMatch.Builder setFullPathMatchBytes(com.google.protobuf.ByteString value)
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string full_path_match = 214598875;
- Parameters:
value
- The bytes for fullPathMatch to set.- Returns:
- This builder for chaining.
-
getHeaderMatchesList
public List<HttpHeaderMatch> getHeaderMatchesList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
- Specified by:
getHeaderMatchesList
in interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatchesCount
public int getHeaderMatchesCount()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
- Specified by:
getHeaderMatchesCount
in interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatches
public HttpHeaderMatch getHeaderMatches(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
- Specified by:
getHeaderMatches
in interfaceHttpRouteRuleMatchOrBuilder
-
setHeaderMatches
public HttpRouteRuleMatch.Builder setHeaderMatches(int index, HttpHeaderMatch value)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
setHeaderMatches
public HttpRouteRuleMatch.Builder setHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
addHeaderMatches
public HttpRouteRuleMatch.Builder addHeaderMatches(HttpHeaderMatch value)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
addHeaderMatches
public HttpRouteRuleMatch.Builder addHeaderMatches(int index, HttpHeaderMatch value)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
addHeaderMatches
public HttpRouteRuleMatch.Builder addHeaderMatches(HttpHeaderMatch.Builder builderForValue)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
addHeaderMatches
public HttpRouteRuleMatch.Builder addHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
addAllHeaderMatches
public HttpRouteRuleMatch.Builder addAllHeaderMatches(Iterable<? extends HttpHeaderMatch> values)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
clearHeaderMatches
public HttpRouteRuleMatch.Builder clearHeaderMatches()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
removeHeaderMatches
public HttpRouteRuleMatch.Builder removeHeaderMatches(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
getHeaderMatchesBuilder
public HttpHeaderMatch.Builder getHeaderMatchesBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
getHeaderMatchesOrBuilder
public HttpHeaderMatchOrBuilder getHeaderMatchesOrBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
- Specified by:
getHeaderMatchesOrBuilder
in interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatchesOrBuilderList
public List<? extends HttpHeaderMatchOrBuilder> getHeaderMatchesOrBuilderList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
- Specified by:
getHeaderMatchesOrBuilderList
in interfaceHttpRouteRuleMatchOrBuilder
-
addHeaderMatchesBuilder
public HttpHeaderMatch.Builder addHeaderMatchesBuilder()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
addHeaderMatchesBuilder
public HttpHeaderMatch.Builder addHeaderMatchesBuilder(int index)
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
getHeaderMatchesBuilderList
public List<HttpHeaderMatch.Builder> getHeaderMatchesBuilderList()
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
repeated .google.cloud.compute.v1.HttpHeaderMatch header_matches = 361903489;
-
hasIgnoreCase
public boolean hasIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
optional bool ignore_case = 464324989;
- Specified by:
hasIgnoreCase
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- Whether the ignoreCase field is set.
-
getIgnoreCase
public boolean getIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
optional bool ignore_case = 464324989;
- Specified by:
getIgnoreCase
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The ignoreCase.
-
setIgnoreCase
public HttpRouteRuleMatch.Builder setIgnoreCase(boolean value)
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
optional bool ignore_case = 464324989;
- Parameters:
value
- The ignoreCase to set.- Returns:
- This builder for chaining.
-
clearIgnoreCase
public HttpRouteRuleMatch.Builder clearIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
optional bool ignore_case = 464324989;
- Returns:
- This builder for chaining.
-
getMetadataFiltersList
public List<MetadataFilter> getMetadataFiltersList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
- Specified by:
getMetadataFiltersList
in interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFiltersCount
public int getMetadataFiltersCount()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
- Specified by:
getMetadataFiltersCount
in interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFilters
public MetadataFilter getMetadataFilters(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
- Specified by:
getMetadataFilters
in interfaceHttpRouteRuleMatchOrBuilder
-
setMetadataFilters
public HttpRouteRuleMatch.Builder setMetadataFilters(int index, MetadataFilter value)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
setMetadataFilters
public HttpRouteRuleMatch.Builder setMetadataFilters(int index, MetadataFilter.Builder builderForValue)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
addMetadataFilters
public HttpRouteRuleMatch.Builder addMetadataFilters(MetadataFilter value)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
addMetadataFilters
public HttpRouteRuleMatch.Builder addMetadataFilters(int index, MetadataFilter value)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
addMetadataFilters
public HttpRouteRuleMatch.Builder addMetadataFilters(MetadataFilter.Builder builderForValue)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
addMetadataFilters
public HttpRouteRuleMatch.Builder addMetadataFilters(int index, MetadataFilter.Builder builderForValue)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
addAllMetadataFilters
public HttpRouteRuleMatch.Builder addAllMetadataFilters(Iterable<? extends MetadataFilter> values)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
clearMetadataFilters
public HttpRouteRuleMatch.Builder clearMetadataFilters()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
removeMetadataFilters
public HttpRouteRuleMatch.Builder removeMetadataFilters(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
getMetadataFiltersBuilder
public MetadataFilter.Builder getMetadataFiltersBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
getMetadataFiltersOrBuilder
public MetadataFilterOrBuilder getMetadataFiltersOrBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
- Specified by:
getMetadataFiltersOrBuilder
in interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFiltersOrBuilderList
public List<? extends MetadataFilterOrBuilder> getMetadataFiltersOrBuilderList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
- Specified by:
getMetadataFiltersOrBuilderList
in interfaceHttpRouteRuleMatchOrBuilder
-
addMetadataFiltersBuilder
public MetadataFilter.Builder addMetadataFiltersBuilder()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
addMetadataFiltersBuilder
public MetadataFilter.Builder addMetadataFiltersBuilder(int index)
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
getMetadataFiltersBuilderList
public List<MetadataFilter.Builder> getMetadataFiltersBuilderList()
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.MetadataFilter metadata_filters = 464725739;
-
hasPathTemplateMatch
public boolean hasPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
optional string path_template_match = 292348186;
- Specified by:
hasPathTemplateMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- Whether the pathTemplateMatch field is set.
-
getPathTemplateMatch
public String getPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
optional string path_template_match = 292348186;
- Specified by:
getPathTemplateMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The pathTemplateMatch.
-
getPathTemplateMatchBytes
public com.google.protobuf.ByteString getPathTemplateMatchBytes()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
optional string path_template_match = 292348186;
- Specified by:
getPathTemplateMatchBytes
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The bytes for pathTemplateMatch.
-
setPathTemplateMatch
public HttpRouteRuleMatch.Builder setPathTemplateMatch(String value)
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
optional string path_template_match = 292348186;
- Parameters:
value
- The pathTemplateMatch to set.- Returns:
- This builder for chaining.
-
clearPathTemplateMatch
public HttpRouteRuleMatch.Builder clearPathTemplateMatch()
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
optional string path_template_match = 292348186;
- Returns:
- This builder for chaining.
-
setPathTemplateMatchBytes
public HttpRouteRuleMatch.Builder setPathTemplateMatchBytes(com.google.protobuf.ByteString value)
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
optional string path_template_match = 292348186;
- Parameters:
value
- The bytes for pathTemplateMatch to set.- Returns:
- This builder for chaining.
-
hasPrefixMatch
public boolean hasPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;
- Specified by:
hasPrefixMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- Whether the prefixMatch field is set.
-
getPrefixMatch
public String getPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;
- Specified by:
getPrefixMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The prefixMatch.
-
getPrefixMatchBytes
public com.google.protobuf.ByteString getPrefixMatchBytes()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;
- Specified by:
getPrefixMatchBytes
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The bytes for prefixMatch.
-
setPrefixMatch
public HttpRouteRuleMatch.Builder setPrefixMatch(String value)
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;
- Parameters:
value
- The prefixMatch to set.- Returns:
- This builder for chaining.
-
clearPrefixMatch
public HttpRouteRuleMatch.Builder clearPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;
- Returns:
- This builder for chaining.
-
setPrefixMatchBytes
public HttpRouteRuleMatch.Builder setPrefixMatchBytes(com.google.protobuf.ByteString value)
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
optional string prefix_match = 257898968;
- Parameters:
value
- The bytes for prefixMatch to set.- Returns:
- This builder for chaining.
-
getQueryParameterMatchesList
public List<HttpQueryParameterMatch> getQueryParameterMatchesList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
- Specified by:
getQueryParameterMatchesList
in interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatchesCount
public int getQueryParameterMatchesCount()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
- Specified by:
getQueryParameterMatchesCount
in interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatches
public HttpQueryParameterMatch getQueryParameterMatches(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
- Specified by:
getQueryParameterMatches
in interfaceHttpRouteRuleMatchOrBuilder
-
setQueryParameterMatches
public HttpRouteRuleMatch.Builder setQueryParameterMatches(int index, HttpQueryParameterMatch value)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
setQueryParameterMatches
public HttpRouteRuleMatch.Builder setQueryParameterMatches(int index, HttpQueryParameterMatch.Builder builderForValue)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
addQueryParameterMatches
public HttpRouteRuleMatch.Builder addQueryParameterMatches(HttpQueryParameterMatch value)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
addQueryParameterMatches
public HttpRouteRuleMatch.Builder addQueryParameterMatches(int index, HttpQueryParameterMatch value)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
addQueryParameterMatches
public HttpRouteRuleMatch.Builder addQueryParameterMatches(HttpQueryParameterMatch.Builder builderForValue)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
addQueryParameterMatches
public HttpRouteRuleMatch.Builder addQueryParameterMatches(int index, HttpQueryParameterMatch.Builder builderForValue)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
addAllQueryParameterMatches
public HttpRouteRuleMatch.Builder addAllQueryParameterMatches(Iterable<? extends HttpQueryParameterMatch> values)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
clearQueryParameterMatches
public HttpRouteRuleMatch.Builder clearQueryParameterMatches()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
removeQueryParameterMatches
public HttpRouteRuleMatch.Builder removeQueryParameterMatches(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
getQueryParameterMatchesBuilder
public HttpQueryParameterMatch.Builder getQueryParameterMatchesBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
getQueryParameterMatchesOrBuilder
public HttpQueryParameterMatchOrBuilder getQueryParameterMatchesOrBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
- Specified by:
getQueryParameterMatchesOrBuilder
in interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatchesOrBuilderList
public List<? extends HttpQueryParameterMatchOrBuilder> getQueryParameterMatchesOrBuilderList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
- Specified by:
getQueryParameterMatchesOrBuilderList
in interfaceHttpRouteRuleMatchOrBuilder
-
addQueryParameterMatchesBuilder
public HttpQueryParameterMatch.Builder addQueryParameterMatchesBuilder()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
addQueryParameterMatchesBuilder
public HttpQueryParameterMatch.Builder addQueryParameterMatchesBuilder(int index)
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
getQueryParameterMatchesBuilderList
public List<HttpQueryParameterMatch.Builder> getQueryParameterMatchesBuilderList()
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
repeated .google.cloud.compute.v1.HttpQueryParameterMatch query_parameter_matches = 286231270;
-
hasRegexMatch
public boolean hasRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;
- Specified by:
hasRegexMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- Whether the regexMatch field is set.
-
getRegexMatch
public String getRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;
- Specified by:
getRegexMatch
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The regexMatch.
-
getRegexMatchBytes
public com.google.protobuf.ByteString getRegexMatchBytes()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;
- Specified by:
getRegexMatchBytes
in interfaceHttpRouteRuleMatchOrBuilder
- Returns:
- The bytes for regexMatch.
-
setRegexMatch
public HttpRouteRuleMatch.Builder setRegexMatch(String value)
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;
- Parameters:
value
- The regexMatch to set.- Returns:
- This builder for chaining.
-
clearRegexMatch
public HttpRouteRuleMatch.Builder clearRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;
- Returns:
- This builder for chaining.
-
setRegexMatchBytes
public HttpRouteRuleMatch.Builder setRegexMatchBytes(com.google.protobuf.ByteString value)
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;
- Parameters:
value
- The bytes for regexMatch to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final HttpRouteRuleMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
mergeUnknownFields
public final HttpRouteRuleMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder>
-
-