Class UrlMapValidationResult (1.34.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
TypeDescription
int

LOAD_SUCCEEDED_FIELD_NUMBER

public static final int LOAD_SUCCEEDED_FIELD_NUMBER
Field Value
TypeDescription
int

TEST_FAILURES_FIELD_NUMBER

public static final int TEST_FAILURES_FIELD_NUMBER
Field Value
TypeDescription
int

TEST_PASSED_FIELD_NUMBER

public static final int TEST_PASSED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UrlMapValidationResult getDefaultInstance()
Returns
TypeDescription
UrlMapValidationResult

getDescriptor()

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

newBuilder()

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

newBuilder(UrlMapValidationResult prototype)

public static UrlMapValidationResult.Builder newBuilder(UrlMapValidationResult prototype)
Parameter
NameDescription
prototypeUrlMapValidationResult
Returns
TypeDescription
UrlMapValidationResult.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UrlMapValidationResult getDefaultInstanceForType()
Returns
TypeDescription
UrlMapValidationResult

getLoadErrors(int index)

public String getLoadErrors(int index)

repeated string load_errors = 310147300;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The loadErrors at the given index.

getLoadErrorsBytes(int index)

public ByteString getLoadErrorsBytes(int index)

repeated string load_errors = 310147300;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the loadErrors at the given index.

getLoadErrorsCount()

public int getLoadErrorsCount()

repeated string load_errors = 310147300;

Returns
TypeDescription
int

The count of loadErrors.

getLoadErrorsList()

public ProtocolStringList getLoadErrorsList()

repeated string load_errors = 310147300;

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

The loadSucceeded.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTestFailures(int index)

public TestFailure getTestFailures(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestFailure

getTestFailuresCount()

public int getTestFailuresCount()

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

Returns
TypeDescription
int

getTestFailuresList()

public List<TestFailure> getTestFailuresList()

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

Returns
TypeDescription
List<TestFailure>

getTestFailuresOrBuilder(int index)

public TestFailureOrBuilder getTestFailuresOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestFailureOrBuilder

getTestFailuresOrBuilderList()

public List<? extends TestFailureOrBuilder> getTestFailuresOrBuilderList()

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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