Class TestFailure (1.40.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
TypeDescription
int

ACTUAL_REDIRECT_RESPONSE_CODE_FIELD_NUMBER

public static final int ACTUAL_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

ACTUAL_SERVICE_FIELD_NUMBER

public static final int ACTUAL_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

EXPECTED_OUTPUT_URL_FIELD_NUMBER

public static final int EXPECTED_OUTPUT_URL_FIELD_NUMBER
Field Value
TypeDescription
int

EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER

public static final int EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

EXPECTED_SERVICE_FIELD_NUMBER

public static final int EXPECTED_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

HEADERS_FIELD_NUMBER

public static final int HEADERS_FIELD_NUMBER
Field Value
TypeDescription
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestFailure getDefaultInstance()
Returns
TypeDescription
TestFailure

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TestFailure.Builder newBuilder()
Returns
TypeDescription
TestFailure.Builder

newBuilder(TestFailure prototype)

public static TestFailure.Builder newBuilder(TestFailure prototype)
Parameter
NameDescription
prototypeTestFailure
Returns
TypeDescription
TestFailure.Builder

parseDelimitedFrom(InputStream input)

public static TestFailure parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TestFailure parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestFailure parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestFailure parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TestFailure parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TestFailure parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestFailure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TestFailure> parser()
Returns
TypeDescription
Parser<TestFailure>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The actualRedirectResponseCode.

getActualService()

public String getActualService()

BackendService or BackendBucket returned by load balancer.

optional string actual_service = 440379652;

Returns
TypeDescription
String

The actualService.

getActualServiceBytes()

public ByteString getActualServiceBytes()

BackendService or BackendBucket returned by load balancer.

optional string actual_service = 440379652;

Returns
TypeDescription
ByteString

The bytes for actualService.

getDefaultInstanceForType()

public TestFailure getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
UrlMapTestHeader

getHeadersCount()

public int getHeadersCount()

HTTP headers of the request.

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

Returns
TypeDescription
int

getHeadersList()

public List<UrlMapTestHeader> getHeadersList()

HTTP headers of the request.

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

Returns
TypeDescription
List<UrlMapTestHeader>

getHeadersOrBuilder(int index)

public UrlMapTestHeaderOrBuilder getHeadersOrBuilder(int index)

HTTP headers of the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UrlMapTestHeaderOrBuilder

getHeadersOrBuilderList()

public List<? extends UrlMapTestHeaderOrBuilder> getHeadersOrBuilderList()

HTTP headers of the request.

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

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

getHost()

public String getHost()

Host portion of the URL.

optional string host = 3208616;

Returns
TypeDescription
String

The host.

getHostBytes()

public ByteString getHostBytes()

Host portion of the URL.

optional string host = 3208616;

Returns
TypeDescription
ByteString

The bytes for host.

getParserForType()

public Parser<TestFailure> getParserForType()
Returns
TypeDescription
Parser<TestFailure>
Overrides

getPath()

public String getPath()

Path portion including query parameters in the URL.

optional string path = 3433509;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

Path portion including query parameters in the URL.

optional string path = 3433509;

Returns
TypeDescription
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the actualRedirectResponseCode field is set.

hasActualService()

public boolean hasActualService()

BackendService or BackendBucket returned by load balancer.

optional string actual_service = 440379652;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the expectedService field is set.

hasHost()

public boolean hasHost()

Host portion of the URL.

optional string host = 3208616;

Returns
TypeDescription
boolean

Whether the host field is set.

hasPath()

public boolean hasPath()

Path portion including query parameters in the URL.

optional string path = 3433509;

Returns
TypeDescription
boolean

Whether the path field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TestFailure.Builder newBuilderForType()
Returns
TypeDescription
TestFailure.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestFailure.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TestFailure.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TestFailure.Builder toBuilder()
Returns
TypeDescription
TestFailure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException