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()
Methods
addAllLoadErrors(Iterable<String> values)
public UrlMapValidationResult.Builder addAllLoadErrors(Iterable<String> values)
repeated string load_errors = 310147300;
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>
|
addLoadErrors(String value)
public UrlMapValidationResult.Builder addLoadErrors(String value)
repeated string load_errors = 310147300;
Parameter |
---|
Name | Description |
value | String
The loadErrors to add.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UrlMapValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTestFailures(TestFailure value)
public UrlMapValidationResult.Builder addTestFailures(TestFailure value)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
addTestFailures(TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder addTestFailures(TestFailure.Builder builderForValue)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
addTestFailures(int index, TestFailure value)
public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure value)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
addTestFailures(int index, TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure.Builder builderForValue)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
addTestFailuresBuilder()
public TestFailure.Builder addTestFailuresBuilder()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
addTestFailuresBuilder(int index)
public TestFailure.Builder addTestFailuresBuilder(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter |
---|
Name | Description |
index | int
|
build()
public UrlMapValidationResult build()
buildPartial()
public UrlMapValidationResult buildPartial()
clear()
public UrlMapValidationResult.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UrlMapValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLoadErrors()
public UrlMapValidationResult.Builder clearLoadErrors()
repeated string load_errors = 310147300;
clearLoadSucceeded()
public UrlMapValidationResult.Builder clearLoadSucceeded()
Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;
clearOneof(Descriptors.OneofDescriptor oneof)
public UrlMapValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTestFailures()
public UrlMapValidationResult.Builder clearTestFailures()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
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;
clone()
public UrlMapValidationResult.Builder clone()
Overrides
getDefaultInstanceForType()
public UrlMapValidationResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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
|
getTestFailuresBuilder(int index)
public TestFailure.Builder getTestFailuresBuilder(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter |
---|
Name | Description |
index | int
|
getTestFailuresBuilderList()
public List<TestFailure.Builder> getTestFailuresBuilderList()
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
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;
getTestFailuresOrBuilder(int index)
public TestFailureOrBuilder getTestFailuresOrBuilder(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UrlMapValidationResult other)
public UrlMapValidationResult.Builder mergeFrom(UrlMapValidationResult other)
public UrlMapValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UrlMapValidationResult.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UrlMapValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTestFailures(int index)
public UrlMapValidationResult.Builder removeTestFailures(int index)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public UrlMapValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UrlMapValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTestFailures(int index, TestFailure value)
public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure value)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
setTestFailures(int index, TestFailure.Builder builderForValue)
public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure.Builder builderForValue)
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UrlMapValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides