public final class UrlMapTest extends com.google.protobuf.GeneratedMessageV3 implements UrlMapTestOrBuilder
Message for the expected URL mappings.Protobuf type
google.cloud.compute.v1.UrlMapTest| Modifier and Type | Class and Description |
|---|---|
static class |
UrlMapTest.Builder
Message for the expected URL mappings.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
EXPECTED_OUTPUT_URL_FIELD_NUMBER |
static int |
EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static UrlMapTest |
getDefaultInstance() |
UrlMapTest |
getDefaultInstanceForType() |
String |
getDescription()
Description of this test case.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of this test case.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<UrlMapTest> |
getParserForType() |
String |
getPath()
Path portion of the URL.
|
com.google.protobuf.ByteString |
getPathBytes()
Path portion of the URL.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UrlMapTest.Builder |
newBuilder() |
static UrlMapTest.Builder |
newBuilder(UrlMapTest prototype) |
UrlMapTest.Builder |
newBuilderForType() |
protected UrlMapTest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UrlMapTest |
parseDelimitedFrom(InputStream input) |
static UrlMapTest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UrlMapTest |
parseFrom(byte[] data) |
static UrlMapTest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UrlMapTest |
parseFrom(ByteBuffer data) |
static UrlMapTest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UrlMapTest |
parseFrom(com.google.protobuf.ByteString data) |
static UrlMapTest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UrlMapTest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UrlMapTest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UrlMapTest |
parseFrom(InputStream input) |
static UrlMapTest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UrlMapTest> |
parser() |
UrlMapTest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DESCRIPTION_FIELD_NUMBER
public static final int EXPECTED_OUTPUT_URL_FIELD_NUMBER
public static final int EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasDescription()
Description of this test case.
optional string description = 422937596;hasDescription in interface UrlMapTestOrBuilderpublic String getDescription()
Description of this test case.
optional string description = 422937596;getDescription in interface UrlMapTestOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of this test case.
optional string description = 422937596;getDescriptionBytes in interface UrlMapTestOrBuilderpublic 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;hasExpectedOutputUrl in interface UrlMapTestOrBuilderpublic 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;getExpectedOutputUrl in interface UrlMapTestOrBuilderpublic 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;getExpectedOutputUrlBytes in interface UrlMapTestOrBuilderpublic 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;hasExpectedRedirectResponseCode in interface UrlMapTestOrBuilderpublic 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;getExpectedRedirectResponseCode in interface UrlMapTestOrBuilderpublic 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;getHeadersList in interface UrlMapTestOrBuilderpublic 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;getHeadersOrBuilderList in interface UrlMapTestOrBuilderpublic 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;getHeadersCount in interface UrlMapTestOrBuilderpublic 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;getHeaders in interface UrlMapTestOrBuilderpublic 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;getHeadersOrBuilder in interface UrlMapTestOrBuilderpublic 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;hasHost in interface UrlMapTestOrBuilderpublic 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;getHost in interface UrlMapTestOrBuilderpublic 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;getHostBytes in interface UrlMapTestOrBuilderpublic boolean hasPath()
Path portion of the URL.
optional string path = 3433509;hasPath in interface UrlMapTestOrBuilderpublic String getPath()
Path portion of the URL.
optional string path = 3433509;getPath in interface UrlMapTestOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path portion of the URL.
optional string path = 3433509;getPathBytes in interface UrlMapTestOrBuilderpublic 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;hasService in interface UrlMapTestOrBuilderpublic 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;getService in interface UrlMapTestOrBuilderpublic 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;getServiceBytes in interface UrlMapTestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UrlMapTest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UrlMapTest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UrlMapTest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UrlMapTest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UrlMapTest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UrlMapTest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UrlMapTest parseFrom(InputStream input) throws IOException
IOExceptionpublic static UrlMapTest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UrlMapTest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UrlMapTest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UrlMapTest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UrlMapTest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UrlMapTest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UrlMapTest.Builder newBuilder()
public static UrlMapTest.Builder newBuilder(UrlMapTest prototype)
public UrlMapTest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UrlMapTest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UrlMapTest getDefaultInstance()
public static com.google.protobuf.Parser<UrlMapTest> parser()
public com.google.protobuf.Parser<UrlMapTest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UrlMapTest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.