- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class HttpRouteRuleMatch.Builder extends GeneratedMessageV3.Builder<HttpRouteRuleMatch.Builder> implements HttpRouteRuleMatchOrBuilderHttpRouteRuleMatch 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HttpRouteRuleMatch.BuilderImplements
HttpRouteRuleMatchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllHeaderMatches(Iterable<? extends HttpHeaderMatch> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.HttpHeaderMatch> |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addAllMetadataFilters(Iterable<? extends MetadataFilter> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.MetadataFilter> |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addAllQueryParameterMatches(Iterable<? extends HttpQueryParameterMatch> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.HttpQueryParameterMatch> |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addHeaderMatches(HttpHeaderMatch value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
HttpHeaderMatch |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addHeaderMatches(HttpHeaderMatch.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpHeaderMatch.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addHeaderMatches(int index, HttpHeaderMatch value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
HttpHeaderMatch |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addHeaderMatches(int index, HttpHeaderMatch.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
HttpHeaderMatch.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
HttpHeaderMatch.Builder |
|
addHeaderMatchesBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
HttpHeaderMatch.Builder |
|
addMetadataFilters(MetadataFilter value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
MetadataFilter |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addMetadataFilters(MetadataFilter.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MetadataFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addMetadataFilters(int index, MetadataFilter value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MetadataFilter |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addMetadataFilters(int index, MetadataFilter.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MetadataFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
MetadataFilter.Builder |
|
addMetadataFiltersBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MetadataFilter.Builder |
|
addQueryParameterMatches(HttpQueryParameterMatch value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
HttpQueryParameterMatch |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addQueryParameterMatches(HttpQueryParameterMatch.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpQueryParameterMatch.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addQueryParameterMatches(int index, HttpQueryParameterMatch value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
HttpQueryParameterMatch |
| Returns | |
|---|---|
| Type | Description |
HttpRouteRuleMatch.Builder |
|
addQueryParameterMatches(int index, HttpQueryParameterMatch.Builder builderForValue)
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 b