public interface UrlMapTestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Description of this test case.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of this test case.
|
String |
getExpectedOutputUrl()
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters.
|
com.google.protobuf.ByteString |
getExpectedOutputUrlBytes()
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters.
|
int |
getExpectedRedirectResponseCode()
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response.
|
UrlMapTestHeader |
getHeaders(int index)
HTTP headers for this request.
|
int |
getHeadersCount()
HTTP headers for this request.
|
List<UrlMapTestHeader> |
getHeadersList()
HTTP headers for this request.
|
UrlMapTestHeaderOrBuilder |
getHeadersOrBuilder(int index)
HTTP headers for this request.
|
List<? extends UrlMapTestHeaderOrBuilder> |
getHeadersOrBuilderList()
HTTP headers for this request.
|
String |
getHost()
Host portion of the URL.
|
com.google.protobuf.ByteString |
getHostBytes()
Host portion of the URL.
|
String |
getPath()
Path portion of the URL.
|
com.google.protobuf.ByteString |
getPathBytes()
Path portion of the URL.
|
String |
getService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
|
com.google.protobuf.ByteString |
getServiceBytes()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
|
boolean |
hasDescription()
Description of this test case.
|
boolean |
hasExpectedOutputUrl()
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters.
|
boolean |
hasExpectedRedirectResponseCode()
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response.
|
boolean |
hasHost()
Host portion of the URL.
|
boolean |
hasPath()
Path portion of the URL.
|
boolean |
hasService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasDescription()
Description of this test case.
optional string description = 422937596;String getDescription()
Description of this test case.
optional string description = 422937596;com.google.protobuf.ByteString getDescriptionBytes()
Description of this test case.
optional string description = 422937596;boolean hasExpectedOutputUrl()
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
optional string expected_output_url = 433967384;String getExpectedOutputUrl()
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
optional string expected_output_url = 433967384;com.google.protobuf.ByteString getExpectedOutputUrlBytes()
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
optional string expected_output_url = 433967384;boolean hasExpectedRedirectResponseCode()
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
optional int32 expected_redirect_response_code = 18888047;int getExpectedRedirectResponseCode()
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
optional int32 expected_redirect_response_code = 18888047;List<UrlMapTestHeader> getHeadersList()
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;UrlMapTestHeader getHeaders(int index)
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;int getHeadersCount()
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;List<? extends UrlMapTestHeaderOrBuilder> getHeadersOrBuilderList()
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;UrlMapTestHeaderOrBuilder getHeadersOrBuilder(int index)
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;boolean hasHost()
Host portion of the URL. If headers contains a host header, then host must also match the header value.
optional string host = 3208616;String getHost()
Host portion of the URL. If headers contains a host header, then host must also match the header value.
optional string host = 3208616;com.google.protobuf.ByteString getHostBytes()
Host portion of the URL. If headers contains a host header, then host must also match the header value.
optional string host = 3208616;boolean hasPath()
Path portion of the URL.
optional string path = 3433509;String getPath()
Path portion of the URL.
optional string path = 3433509;com.google.protobuf.ByteString getPathBytes()
Path portion of the URL.
optional string path = 3433509;boolean hasService()
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
optional string service = 373540533;String getService()
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
optional string service = 373540533;com.google.protobuf.ByteString getServiceBytes()
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
optional string service = 373540533;Copyright © 2023 Google LLC. All rights reserved.