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
LOAD_SUCCEEDED_FIELD_NUMBER
public static final int LOAD_SUCCEEDED_FIELD_NUMBER
Field Value
TEST_FAILURES_FIELD_NUMBER
public static final int TEST_FAILURES_FIELD_NUMBER
Field Value
TEST_PASSED_FIELD_NUMBER
public static final int TEST_PASSED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UrlMapValidationResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UrlMapValidationResult.Builder newBuilder()
Returns
newBuilder(UrlMapValidationResult prototype)
public static UrlMapValidationResult.Builder newBuilder(UrlMapValidationResult prototype)
Parameter
Returns
public static UrlMapValidationResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UrlMapValidationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UrlMapValidationResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UrlMapValidationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UrlMapValidationResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UrlMapValidationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UrlMapValidationResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UrlMapValidationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UrlMapValidationResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UrlMapValidationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UrlMapValidationResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UrlMapValidationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UrlMapValidationResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UrlMapValidationResult getDefaultInstanceForType()
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTestFailures(int index)
public TestFailure getTestFailures(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
getTestFailuresCount()
public int getTestFailuresCount()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Returns
getTestFailuresList()
public List<TestFailure> getTestFailuresList()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Returns
getTestFailuresOrBuilder(int index)
public TestFailureOrBuilder getTestFailuresOrBuilder(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UrlMapValidationResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UrlMapValidationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UrlMapValidationResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions