public static final class UrlMapValidationResult.Builder extends GeneratedMessage.Builder<UrlMapValidationResult.Builder> implements UrlMapValidationResultOrBuilderMessage representing the validation result for a UrlMap.
Protobuf type google.cloud.compute.v1.UrlMapValidationResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UrlMapValidationResult.BuilderImplements
UrlMapValidationResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLoadErrors(Iterable<String> values)
public UrlMapValidationResult.Builder addAllLoadErrors(Iterable<String> values)repeated string load_errors = 310147300;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The loadErrors to add. |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
addLoadErrors(String value)
public UrlMapValidationResult.Builder addLoadErrors(String value)repeated string load_errors = 310147300;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe loadErrors to add. |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
addLoadErrorsBytes(ByteString value)
public UrlMapValidationResult.Builder addLoadErrorsBytes(ByteString value)repeated string load_errors = 310147300;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the loadErrors to add. |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
addTestFailures(TestFailure value)
public UrlMapValidationResult.Builder addTestFailures(TestFailure value)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameter | |
|---|---|
| Name | Description |
value |
TestFailure |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
addTestFailures(TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder addTestFailures(TestFailure.Builder builderForValue)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TestFailure.Builder |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
addTestFailures(int index, TestFailure value)
public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure value)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
TestFailure |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
TestFailure.Builder |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
addTestFailuresBuilder()
public TestFailure.Builder addTestFailuresBuilder()repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Returns | |
|---|---|
| Type | Description |
TestFailure.Builder |
|
addTestFailuresBuilder(int index)
public TestFailure.Builder addTestFailuresBuilder(int index)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TestFailure.Builder |
|
build()
public UrlMapValidationResult build()| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult |
|
buildPartial()
public UrlMapValidationResult buildPartial()| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult |
|
clear()
public UrlMapValidationResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
clearLoadErrors()
public UrlMapValidationResult.Builder clearLoadErrors()repeated string load_errors = 310147300;
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
clearTestFailures()
public UrlMapValidationResult.Builder clearTestFailures()repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
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 | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UrlMapValidationResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLoadErrors(int index)
public String getLoadErrors(int index)repeated string load_errors = 310147300;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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. |
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 |
|
getTestFailuresBuilder(int index)
public TestFailure.Builder getTestFailuresBuilder(int index)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TestFailure.Builder |
|
getTestFailuresBuilderList()
public List<TestFailure.Builder> getTestFailuresBuilderList()repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UrlMapValidationResult other)
public UrlMapValidationResult.Builder mergeFrom(UrlMapValidationResult other)| Parameter | |
|---|---|
| Name | Description |
other |
UrlMapValidationResult |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UrlMapValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UrlMapValidationResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
removeTestFailures(int index)
public UrlMapValidationResult.Builder removeTestFailures(int index)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
setLoadErrors(int index, String value)
public UrlMapValidationResult.Builder setLoadErrors(int index, String value)repeated string load_errors = 310147300;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe loadErrors to set. |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
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 |
booleanThe loadSucceeded to set. |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |
setTestFailures(int index, TestFailure value)
public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure value)repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
TestFailure |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
TestFailure.Builder |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
|
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 |
booleanThe testPassed to set. |
| Returns | |
|---|---|
| Type | Description |
UrlMapValidationResult.Builder |
This builder for chaining. |