Class TestFailure (1.55.0)

public final class TestFailure extends GeneratedMessageV3 implements TestFailureOrBuilder

Protobuf type google.cloud.compute.v1.TestFailure

Static Fields

ACTUAL_OUTPUT_URL_FIELD_NUMBER

public static final int ACTUAL_OUTPUT_URL_FIELD_NUMBER
Field Value
Type Description
int

ACTUAL_REDIRECT_RESPONSE_CODE_FIELD_NUMBER

public static final int ACTUAL_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
Field Value
Type Description
int

ACTUAL_SERVICE_FIELD_NUMBER

public static final int ACTUAL_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

EXPECTED_OUTPUT_URL_FIELD_NUMBER

public static final int EXPECTED_OUTPUT_URL_FIELD_NUMBER
Field Value
Type Description
int

EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER

public static final int EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
Field Value
Type Description
int

EXPECTED_SERVICE_FIELD_NUMBER

public static final int EXPECTED_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

HEADERS_FIELD_NUMBER

public static final int HEADERS_FIELD_NUMBER
Field Value
Type Description
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TestFailure getDefaultInstance()
Returns
Type Description
TestFailure

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TestFailure.Builder newBuilder()
Returns
Type Description
TestFailure.Builder

newBuilder(TestFailure prototype)

public static TestFailure.Builder newBuilder(TestFailure prototype)
Parameter
Name Description
prototype TestFailure
Returns
Type Description
TestFailure.Builder

parseDelimitedFrom(InputStream input)

public static TestFailure parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestFailure
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestFailure
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TestFailure parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TestFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestFailure parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TestFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestFailure parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TestFailure
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestFailure
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TestFailure parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestFailure
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestFailure
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TestFailure parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TestFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestFailure
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TestFailure> parser()
Returns
Type Description
Parser<TestFailure>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActualOutputUrl()

public String getActualOutputUrl()

The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.

optional string actual_output_url = 287075458;

Returns
Type Description
String

The actualOutputUrl.

getActualOutputUrlBytes()

public ByteString getActualOutputUrlBytes()

The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.

optional string actual_output_url = 287075458;

Returns
Type Description
ByteString

The bytes for actualOutputUrl.

getActualRedirectResponseCode()

public int getActualRedirectResponseCode()

Actual HTTP status code for rule with urlRedirect calculated by load balancer

optional int32 actual_redirect_response_code = 42926553;

Returns
Type Description
int

The actualRedirectResponseCode.

getActualService()

public String getActualService()

BackendService or BackendBucket returned by load balancer.

optional string actual_service = 440379652;

Returns
Type Description
String

The actualService.

getActualServiceBytes()

public ByteString getActualServiceBytes()

BackendService or BackendBucket returned by load balancer.

optional string actual_service = 440379652;

Returns
Type Description
ByteString

The bytes for actualService.

getDefaultInstanceForType()

public TestFailure getDefaultInstanceForType()
Returns
Type Description
TestFailure

getExpectedOutputUrl()

public String getExpectedOutputUrl()

The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.

optional string expected_output_url = 433967384;

Returns
Type Description
String

The expectedOutputUrl.

getExpectedOutputUrlBytes()

public ByteString getExpectedOutputUrlBytes()

The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.

optional string expected_output_url = 433967384;

Returns
Type Description
ByteString

The bytes for expectedOutputUrl.

getExpectedRedirectResponseCode()

public int getExpectedRedirectResponseCode()

Expected HTTP status code for rule with urlRedirect calculated by load balancer

optional int32 expected_redirect_response_code = 18888047;

Returns
Type Description
int

The expectedRedirectResponseCode.

getExpectedService()

public String getExpectedService()

Expected BackendService or BackendBucket resource the given URL should be mapped to.

optional string expected_service = 133987374;

Returns
Type Description
String

The expectedService.

getExpectedServiceBytes()

public ByteString getExpectedServiceBytes()

Expected BackendService or BackendBucket resource the given URL should be mapped to.

optional string expected_service = 133987374;

Returns
Type Description
ByteString

The bytes for expectedService.

getHeaders(int index)

public UrlMapTestHeader getHeaders(int index)

HTTP headers of the request.

repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;

Parameter
Name Description
index int
Returns
Type Description
UrlMapTestHeader

getHeadersCount()

public int getHeadersCount()

HTTP headers of the request.

repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;

Returns
Type Description
int

getHeadersList()

public List<UrlMapTestHeader> getHeadersList()

HTTP headers of the request.

repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;

Returns
Type Description
List<UrlMapTestHeader>

getHeadersOrBuilder(int index)

public UrlMapTestHeaderOrBuilder getHeadersOrBuilder(int index)

HTTP headers of the request.

repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;

Parameter
Name Description
index int
Returns
Type Description
UrlMapTestHeaderOrBuilder

getHeadersOrBuilderList()

public List<? extends UrlMapTestHeaderOrBuilder> getHeadersOrBuilderList()

HTTP headers of the request.

repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.UrlMapTestHeaderOrBuilder>

getHost()

public String getHost()

Host portion of the URL.

optional string host = 3208616;

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

Host portion of the URL.

optional string host = 3208616;

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

public Parser<TestFailure> getParserForType()
Returns
Type Description
Parser<TestFailure>
Overrides

getPath()

public String getPath()

Path portion including query parameters in the URL.

optional string path = 3433509;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Path portion including query parameters in the URL.

optional string path = 3433509;

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasActualOutputUrl()

public boolean hasActualOutputUrl()

The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.

optional string actual_output_url = 287075458;

Returns
Type Description
boolean

Whether the actualOutputUrl field is set.

hasActualRedirectResponseCode()

public boolean hasActualRedirectResponseCode()

Actual HTTP status code for rule with urlRedirect calculated by load balancer

optional int32 actual_redirect_response_code = 42926553;

Returns
Type Description
boolean

Whether the actualRedirectResponseCode field is set.

hasActualService()

public boolean hasActualService()

BackendService or BackendBucket returned by load balancer.

optional string actual_service = 440379652;

Returns
Type Description
boolean

Whether the actualService field is set.

hasExpectedOutputUrl()

public boolean hasExpectedOutputUrl()

The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.

optional string expected_output_url = 433967384;

Returns
Type Description
boolean

Whether the expectedOutputUrl field is set.

hasExpectedRedirectResponseCode()

public boolean hasExpectedRedirectResponseCode()

Expected HTTP status code for rule with urlRedirect calculated by load balancer

optional int32 expected_redirect_response_code = 18888047;

Returns
Type Description
boolean

Whether the expectedRedirectResponseCode field is set.

hasExpectedService()

public boolean hasExpectedService()

Expected BackendService or BackendBucket resource the given URL should be mapped to.

optional string expected_service = 133987374;

Returns
Type Description
boolean

Whether the expectedService field is set.

hasHost()

public boolean hasHost()

Host portion of the URL.

optional string host = 3208616;

Returns
Type Description
boolean

Whether the host field is set.

hasPath()

public boolean hasPath()

Path portion including query parameters in the URL.

optional string path = 3433509;

Returns
Type Description
boolean

Whether the path field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TestFailure.Builder newBuilderForType()
Returns
Type Description
TestFailure.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestFailure.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TestFailure.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TestFailure.Builder toBuilder()
Returns
Type Description
TestFailure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException