public static final class UrlMapValidationResult.Builder extends GeneratedMessageV3.Builder<UrlMapValidationResult.Builder> implements UrlMapValidationResultOrBuilder
Message representing the validation result for a UrlMap.
Protobuf type google.cloud.compute.v1.UrlMapValidationResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllLoadErrors(Iterable<String> values)
public UrlMapValidationResult.Builder addAllLoadErrors(Iterable<String> values)
repeated string load_errors = 310147300;
Parameter
Returns
addAllTestFailures(Iterable<? extends TestFailure> values)
public UrlMapValidationResult.Builder addAllTestFailures(Iterable<? extends TestFailure> values)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.TestFailure>
|
Returns
addLoadErrors(String value)
public UrlMapValidationResult.Builder addLoadErrors(String value)
repeated string load_errors = 310147300;
Parameter
Name | Description |
value | String
The loadErrors to add.
|
Returns
addLoadErrorsBytes(ByteString value)
public UrlMapValidationResult.Builder addLoadErrorsBytes(ByteString value)
repeated string load_errors = 310147300;
Parameter
Name | Description |
value | ByteString
The bytes of the loadErrors to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UrlMapValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTestFailures(TestFailure value)
public UrlMapValidationResult.Builder addTestFailures(TestFailure value)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
addTestFailures(TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder addTestFailures(TestFailure.Builder builderForValue)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
addTestFailures(int index, TestFailure value)
public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure value)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameters
Returns
addTestFailures(int index, TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure.Builder builderForValue)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameters
Returns
addTestFailuresBuilder()
public TestFailure.Builder addTestFailuresBuilder()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Returns
addTestFailuresBuilder(int index)
public TestFailure.Builder addTestFailuresBuilder(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
build()
public UrlMapValidationResult build()
Returns
buildPartial()
public UrlMapValidationResult buildPartial()
Returns
clear()
public UrlMapValidationResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UrlMapValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLoadErrors()
public UrlMapValidationResult.Builder clearLoadErrors()
repeated string load_errors = 310147300;
Returns
clearLoadSucceeded()
public UrlMapValidationResult.Builder clearLoadSucceeded()
Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UrlMapValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTestFailures()
public UrlMapValidationResult.Builder clearTestFailures()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Returns
clearTestPassed()
public UrlMapValidationResult.Builder clearTestPassed()
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
clone()
public UrlMapValidationResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UrlMapValidationResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
getTestFailures(int index)
public TestFailure getTestFailures(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
getTestFailuresBuilder(int index)
public TestFailure.Builder getTestFailuresBuilder(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
getTestFailuresBuilderList()
public List<TestFailure.Builder> getTestFailuresBuilderList()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UrlMapValidationResult other)
public UrlMapValidationResult.Builder mergeFrom(UrlMapValidationResult other)
Parameter
Returns
public UrlMapValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UrlMapValidationResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UrlMapValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTestFailures(int index)
public UrlMapValidationResult.Builder removeTestFailures(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UrlMapValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLoadErrors(int index, String value)
public UrlMapValidationResult.Builder setLoadErrors(int index, String value)
repeated string load_errors = 310147300;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The loadErrors to set.
|
Returns
setLoadSucceeded(boolean value)
public UrlMapValidationResult.Builder setLoadSucceeded(boolean value)
Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;
Parameter
Name | Description |
value | boolean
The loadSucceeded to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UrlMapValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTestFailures(int index, TestFailure value)
public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure value)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameters
Returns
setTestFailures(int index, TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure.Builder builderForValue)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameters
Returns
setTestPassed(boolean value)
public UrlMapValidationResult.Builder setTestPassed(boolean value)
If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.
optional bool test_passed = 192708797;
Parameter
Name | Description |
value | boolean
The testPassed to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UrlMapValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides