Class UrlMapValidationResult (1.58.0)

public final class UrlMapValidationResult extends GeneratedMessageV3 implements UrlMapValidationResultOrBuilder

Message representing the validation result for a UrlMap.

Protobuf type google.cloud.compute.v1.UrlMapValidationResult

Static Fields

LOAD_ERRORS_FIELD_NUMBER

public static final int LOAD_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

LOAD_SUCCEEDED_FIELD_NUMBER

public static final int LOAD_SUCCEEDED_FIELD_NUMBER
Field Value
Type Description
int

TEST_FAILURES_FIELD_NUMBER

public static final int TEST_FAILURES_FIELD_NUMBER
Field Value
Type Description
int

TEST_PASSED_FIELD_NUMBER

public static final int TEST_PASSED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UrlMapValidationResult getDefaultInstance()
Returns
Type Description
UrlMapValidationResult

getDescriptor()

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

newBuilder()

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

newBuilder(UrlMapValidationResult prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UrlMapValidationResult getDefaultInstanceForType()
Returns
Type Description
UrlMapValidationResult

getLoadErrors(int index)

public String getLoadErrors(int index)

repeated string load_errors = 310147300;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The loadErrors at the given index.

getLoadErrorsBytes(int index)

public ByteString getLoadErrorsBytes(int index)

repeated string load_errors = 310147300;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the loadErrors at the given index.

getLoadErrorsCount()

public int getLoadErrorsCount()

repeated string load_errors = 310147300;

Returns
Type Description
int

The count of loadErrors.

getLoadErrorsList()

public ProtocolStringList getLoadErrorsList()

repeated string load_errors = 310147300;

Returns
Type Description
ProtocolStringList

A list containing the loadErrors.

getLoadSucceeded()

public boolean getLoadSucceeded()

Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.

optional bool load_succeeded = 128326216;

Returns
Type Description
boolean

The loadSucceeded.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTestFailures(int index)

public TestFailure getTestFailures(int index)

repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;

Parameter
Name Description
index int
Returns
Type Description
TestFailure

getTestFailuresCount()

public int getTestFailuresCount()

repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;

Returns
Type Description
int

getTestFailuresList()

public List<TestFailure> getTestFailuresList()

repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;

Returns
Type Description
List<TestFailure>

getTestFailuresOrBuilder(int index)

public TestFailureOrBuilder getTestFailuresOrBuilder(int index)

repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;

Parameter
Name Description
index int
Returns
Type Description
TestFailureOrBuilder

getTestFailuresOrBuilderList()

public List<? extends TestFailureOrBuilder> getTestFailuresOrBuilderList()

repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;

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

getTestPassed()

public boolean getTestPassed()

If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.

optional bool test_passed = 192708797;

Returns
Type Description
boolean

The testPassed.

hasLoadSucceeded()

public boolean hasLoadSucceeded()

Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.

optional bool load_succeeded = 128326216;

Returns
Type Description
boolean

Whether the loadSucceeded field is set.

hasTestPassed()

public boolean hasTestPassed()

If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.

optional bool test_passed = 192708797;

Returns
Type Description
boolean

Whether the testPassed 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 UrlMapValidationResult.Builder newBuilderForType()
Returns
Type Description
UrlMapValidationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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