
com.google.cloud.compute.v1.UrlMapTestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-compute-v1 Show documentation
Show all versions of proto-google-cloud-compute-v1 Show documentation
Proto library for google-cloud-compute
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface UrlMapTestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UrlMapTest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Description of this test case.
*
*
* optional string description = 422937596;
*
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
*
*
* Description of this test case.
*
*
* optional string description = 422937596;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Description of this test case.
*
*
* optional string description = 422937596;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* 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;
*
* @return Whether the expectedOutputUrl field is set.
*/
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;
*
* @return The expectedOutputUrl.
*/
java.lang.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;
*
* @return The bytes for expectedOutputUrl.
*/
com.google.protobuf.ByteString getExpectedOutputUrlBytes();
/**
*
*
*
* 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;
*
* @return Whether the expectedRedirectResponseCode field is set.
*/
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;
*
* @return The expectedRedirectResponseCode.
*/
int getExpectedRedirectResponseCode();
/**
*
*
*
* 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;
*/
java.util.List 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;
*/
com.google.cloud.compute.v1.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;
*/
java.util.List extends com.google.cloud.compute.v1.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;
*/
com.google.cloud.compute.v1.UrlMapTestHeaderOrBuilder getHeadersOrBuilder(int index);
/**
*
*
*
* Host portion of the URL. If headers contains a host header, then host must also match the header value.
*
*
* optional string host = 3208616;
*
* @return Whether the host field is set.
*/
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;
*
* @return The host.
*/
java.lang.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;
*
* @return The bytes for host.
*/
com.google.protobuf.ByteString getHostBytes();
/**
*
*
*
* Path portion of the URL.
*
*
* optional string path = 3433509;
*
* @return Whether the path field is set.
*/
boolean hasPath();
/**
*
*
*
* Path portion of the URL.
*
*
* optional string path = 3433509;
*
* @return The path.
*/
java.lang.String getPath();
/**
*
*
*
* Path portion of the URL.
*
*
* optional string path = 3433509;
*
* @return The bytes for path.
*/
com.google.protobuf.ByteString getPathBytes();
/**
*
*
*
* 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;
*
* @return Whether the service field is set.
*/
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;
*
* @return The service.
*/
java.lang.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;
*
* @return The bytes for service.
*/
com.google.protobuf.ByteString getServiceBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy