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.GeneratedMessage.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.GeneratedMessage.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 type
google.cloud.compute.v1.HttpRouteRuleMatch-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaderMatches(Iterable<? extends HttpHeaderMatch> values) Specifies a list of header match criteria, all of which must match corresponding headers in the request.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.addAllQueryParameterMatches(Iterable<? extends HttpQueryParameterMatch> values) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.addHeaderMatches(int index, HttpHeaderMatch value) Specifies a list of header match criteria, all of which must match corresponding headers in the request.addHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue) Specifies a list of header match criteria, all of which must match corresponding headers in the request.addHeaderMatches(HttpHeaderMatch value) Specifies a list of header match criteria, all of which must match corresponding headers in the request.addHeaderMatches(HttpHeaderMatch.Builder builderForValue) Specifies a list of header match criteria, all of which must match corresponding headers in the request.Specifies a list of header match criteria, all of which must match corresponding headers in the request.addHeaderMatchesBuilder(int index) Specifies a list of header match criteria, all of which must match corresponding headers in the request.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.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.addMetadataFilters(MetadataFilter value) Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.addMetadataFilters(MetadataFilter.Builder builderForValue) Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.addMetadataFiltersBuilder(int index) Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.addQueryParameterMatches(int index, HttpQueryParameterMatch value) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.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.Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.addQueryParameterMatches(HttpQueryParameterMatch.Builder builderForValue) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.addQueryParameterMatchesBuilder(int index) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.build()clear()For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.Specifies a list of header match criteria, all of which must match corresponding headers in the request.Specifies that prefixMatch and fullPathMatch matches are case sensitive.Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.If specified, this field defines a path template pattern that must match the :path header after the query string is removed.For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFor satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.com.google.protobuf.ByteStringFor satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.getHeaderMatches(int index) Specifies a list of header match criteria, all of which must match corresponding headers in the request.getHeaderMatchesBuilder(int index) Specifies a list of header match criteria, all of which must match corresponding headers in the request.Specifies a list of header match criteria, all of which must match corresponding headers in the request.intSpecifies a list of header match criteria, all of which must match corresponding headers in the request.Specifies a list of header match criteria, all of which must match corresponding headers in the request.getHeaderMatchesOrBuilder(int index) Specifies a list of header match criteria, all of which must match corresponding headers in the request.List<? extends HttpHeaderMatchOrBuilder>Specifies a list of header match criteria, all of which must match corresponding headers in the request.booleanSpecifies that prefixMatch and fullPathMatch matches are case sensitive.getMetadataFilters(int index) Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.getMetadataFiltersBuilder(int index) Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.intOpaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.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>Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.If specified, this field defines a path template pattern that must match the :path header after the query string is removed.com.google.protobuf.ByteStringIf specified, this field defines a path template pattern that must match the :path header after the query string is removed.For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.com.google.protobuf.ByteStringFor satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.getQueryParameterMatches(int index) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.getQueryParameterMatchesBuilder(int index) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.intSpecifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.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>Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.com.google.protobuf.ByteStringFor satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.booleanFor satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.booleanSpecifies that prefixMatch and fullPathMatch matches are case sensitive.booleanIf specified, this field defines a path template pattern that must match the :path header after the query string is removed.booleanFor satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.booleanFor satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(HttpRouteRuleMatch other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeHeaderMatches(int index) Specifies a list of header match criteria, all of which must match corresponding headers in the request.removeMetadataFilters(int index) Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients.removeQueryParameterMatches(int index) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.setFullPathMatch(String value) For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.setFullPathMatchBytes(com.google.protobuf.ByteString value) For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch after removing any query parameters and anchor that may be part of the original URL.setHeaderMatches(int index, HttpHeaderMatch value) Specifies a list of header match criteria, all of which must match corresponding headers in the request.setHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue) Specifies a list of header match criteria, all of which must match corresponding headers in the request.setIgnoreCase(boolean value) Specifies that prefixMatch and fullPathMatch matches are case sensitive.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.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.setPathTemplateMatch(String value) If specified, this field defines a path template pattern that must match the :path header after the query string is removed.setPathTemplateMatchBytes(com.google.protobuf.ByteString value) If specified, this field defines a path template pattern that must match the :path header after the query string is removed.setPrefixMatch(String value) For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch.prefixMatch must begin with a /.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 /.setQueryParameterMatches(int index, HttpQueryParameterMatch value) Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.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.setRegexMatch(String value) For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.setRegexMatchBytes(com.google.protobuf.ByteString value) For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor supplied with the original URL.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HttpRouteRuleMatch.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HttpRouteRuleMatch.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.GeneratedMessage.Builder<HttpRouteRuleMatch.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpRouteRuleMatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HttpRouteRuleMatch.Builder>
-
mergeFrom
public HttpRouteRuleMatch.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<HttpRouteRuleMatch.Builder>- Throws:
IOException
-
hasFullPathMatch
public boolean hasFullPathMatch()For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch 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,regexMatch or path_template_match must be specified.
optional string full_path_match = 214598875;- Specified by:
hasFullPathMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the fullPathMatch field is set.
-
getFullPathMatch
For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch 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,regexMatch or path_template_match must be specified.
optional string full_path_match = 214598875;- Specified by:
getFullPathMatchin 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 infullPathMatch 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,regexMatch or path_template_match must be specified.
optional string full_path_match = 214598875;- Specified by:
getFullPathMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for fullPathMatch.
-
setFullPathMatch
For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch 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,regexMatch or path_template_match must be specified.
optional string full_path_match = 214598875;- Parameters:
value- The fullPathMatch to set.- Returns:
- This builder for chaining.
-
clearFullPathMatch
For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch 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,regexMatch or path_template_match must be specified.
optional string full_path_match = 214598875;- Returns:
- This builder for chaining.
-
setFullPathMatchBytes
For satisfying the matchRule condition, the path of the request must exactly match the value specified infullPathMatch 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,regexMatch or path_template_match must be specified.
optional string full_path_match = 214598875;- Parameters:
value- The bytes for fullPathMatch to set.- Returns:
- This builder for chaining.
-
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:
getHeaderMatchesListin 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:
getHeaderMatchesCountin interfaceHttpRouteRuleMatchOrBuilder
-
getHeaderMatches
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:
getHeaderMatchesin interfaceHttpRouteRuleMatchOrBuilder
-
setHeaderMatches
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
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
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
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
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
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
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
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
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:
getHeaderMatchesOrBuilderin interfaceHttpRouteRuleMatchOrBuilder
-
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:
getHeaderMatchesOrBuilderListin interfaceHttpRouteRuleMatchOrBuilder
-
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
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
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:
hasIgnoreCasein 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:
getIgnoreCasein interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The ignoreCase.
-
setIgnoreCase
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
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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
getMetadataFiltersListin 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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
getMetadataFiltersCountin interfaceHttpRouteRuleMatchOrBuilder
-
getMetadataFilters
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
getMetadataFiltersin interfaceHttpRouteRuleMatchOrBuilder
-
setMetadataFilters
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
getMetadataFiltersOrBuilderin interfaceHttpRouteRuleMatchOrBuilder
-
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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:
getMetadataFiltersOrBuilderListin interfaceHttpRouteRuleMatchOrBuilder
-
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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
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 itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels 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 theUrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_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, this field defines a path template pattern that must match the :path header after the query string is removed. A path template pattern can include variables and wildcards. Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that matches a single path segment, and ** that matches zero or more path segments. The pattern must follow these rules: - The value must be between 1 and 1024 characters. - The pattern must start with a leading slash ("/"). - No more than 5 operators (variables or wildcards) may appear in the pattern. Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be set.optional string path_template_match = 292348186;- Specified by:
hasPathTemplateMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the pathTemplateMatch field is set.
-
getPathTemplateMatch
If specified, this field defines a path template pattern that must match the :path header after the query string is removed. A path template pattern can include variables and wildcards. Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that matches a single path segment, and ** that matches zero or more path segments. The pattern must follow these rules: - The value must be between 1 and 1024 characters. - The pattern must start with a leading slash ("/"). - No more than 5 operators (variables or wildcards) may appear in the pattern. Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be set.optional string path_template_match = 292348186;- Specified by:
getPathTemplateMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The pathTemplateMatch.
-
getPathTemplateMatchBytes
public com.google.protobuf.ByteString getPathTemplateMatchBytes()If specified, this field defines a path template pattern that must match the :path header after the query string is removed. A path template pattern can include variables and wildcards. Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that matches a single path segment, and ** that matches zero or more path segments. The pattern must follow these rules: - The value must be between 1 and 1024 characters. - The pattern must start with a leading slash ("/"). - No more than 5 operators (variables or wildcards) may appear in the pattern. Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be set.optional string path_template_match = 292348186;- Specified by:
getPathTemplateMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for pathTemplateMatch.
-
setPathTemplateMatch
If specified, this field defines a path template pattern that must match the :path header after the query string is removed. A path template pattern can include variables and wildcards. Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that matches a single path segment, and ** that matches zero or more path segments. The pattern must follow these rules: - The value must be between 1 and 1024 characters. - The pattern must start with a leading slash ("/"). - No more than 5 operators (variables or wildcards) may appear in the pattern. Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be set.optional string path_template_match = 292348186;- Parameters:
value- The pathTemplateMatch to set.- Returns:
- This builder for chaining.
-
clearPathTemplateMatch
If specified, this field defines a path template pattern that must match the :path header after the query string is removed. A path template pattern can include variables and wildcards. Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that matches a single path segment, and ** that matches zero or more path segments. The pattern must follow these rules: - The value must be between 1 and 1024 characters. - The pattern must start with a leading slash ("/"). - No more than 5 operators (variables or wildcards) may appear in the pattern. Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be set.optional string path_template_match = 292348186;- Returns:
- This builder for chaining.
-
setPathTemplateMatchBytes
If specified, this field defines a path template pattern that must match the :path header after the query string is removed. A path template pattern can include variables and wildcards. Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that matches a single path segment, and ** that matches zero or more path segments. The pattern must follow these rules: - The value must be between 1 and 1024 characters. - The pattern must start with a leading slash ("/"). - No more than 5 operators (variables or wildcards) may appear in the pattern. Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch 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. The * character inside a prefix match is treated as a literal character, not as a wildcard. Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be used within a matchRule.
optional string prefix_match = 257898968;- Specified by:
hasPrefixMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the prefixMatch field is set.
-
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. The * character inside a prefix match is treated as a literal character, not as a wildcard. Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be used within a matchRule.
optional string prefix_match = 257898968;- Specified by:
getPrefixMatchin 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. The * character inside a prefix match is treated as a literal character, not as a wildcard. Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be used within a matchRule.
optional string prefix_match = 257898968;- Specified by:
getPrefixMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for prefixMatch.
-
setPrefixMatch
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. The * character inside a prefix match is treated as a literal character, not as a wildcard. Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be used within a matchRule.
optional string prefix_match = 257898968;- Parameters:
value- The prefixMatch to set.- Returns:
- This builder for chaining.
-
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. The * character inside a prefix match is treated as a literal character, not as a wildcard. Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be used within a matchRule.
optional string prefix_match = 257898968;- Returns:
- This builder for chaining.
-
setPrefixMatchBytes
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. The * character inside a prefix match is treated as a literal character, not as a wildcard. Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be used within a matchRule.
optional string prefix_match = 257898968;- Parameters:
value- The bytes for prefixMatch to set.- Returns:
- This builder for chaining.
-
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:
getQueryParameterMatchesListin 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:
getQueryParameterMatchesCountin interfaceHttpRouteRuleMatchOrBuilder
-
getQueryParameterMatches
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:
getQueryParameterMatchesin 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
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
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
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
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
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:
getQueryParameterMatchesOrBuilderin interfaceHttpRouteRuleMatchOrBuilder
-
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:
getQueryParameterMatchesOrBuilderListin interfaceHttpRouteRuleMatchOrBuilder
-
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
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
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 inregexMatch 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,regexMatch or path_template_match must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Specified by:
hasRegexMatchin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- Whether the regexMatch field is set.
-
getRegexMatch
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch 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,regexMatch or path_template_match must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Specified by:
getRegexMatchin 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 inregexMatch 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,regexMatch or path_template_match must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Specified by:
getRegexMatchBytesin interfaceHttpRouteRuleMatchOrBuilder- Returns:
- The bytes for regexMatch.
-
setRegexMatch
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch 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,regexMatch or path_template_match must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Parameters:
value- The regexMatch to set.- Returns:
- This builder for chaining.
-
clearRegexMatch
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch 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,regexMatch or path_template_match must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Returns:
- This builder for chaining.
-
setRegexMatchBytes
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified inregexMatch 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,regexMatch or path_template_match must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Parameters:
value- The bytes for regexMatch to set.- Returns:
- This builder for chaining.
-