Package com.google.cloud.compute.v1
Class UrlMapValidationResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
com.google.cloud.compute.v1.UrlMapValidationResult.Builder
- All Implemented Interfaces:
UrlMapValidationResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UrlMapValidationResult
public static final class UrlMapValidationResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
implements UrlMapValidationResultOrBuilder
Message representing the validation result for a UrlMap.Protobuf type
google.cloud.compute.v1.UrlMapValidationResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllLoadErrors(Iterable<String> values) repeated string load_errors = 310147300;addAllTestFailures(Iterable<? extends TestFailure> values) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;addLoadErrors(String value) repeated string load_errors = 310147300;addLoadErrorsBytes(com.google.protobuf.ByteString value) repeated string load_errors = 310147300;addTestFailures(int index, TestFailure value) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;addTestFailures(int index, TestFailure.Builder builderForValue) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;addTestFailures(TestFailure value) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;addTestFailures(TestFailure.Builder builderForValue) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;addTestFailuresBuilder(int index) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;build()clear()repeated string load_errors = 310147300;Whether the given UrlMap can be successfully loaded.repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;If successfully loaded, this field indicates whether the test passed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLoadErrors(int index) repeated string load_errors = 310147300;com.google.protobuf.ByteStringgetLoadErrorsBytes(int index) repeated string load_errors = 310147300;intrepeated string load_errors = 310147300;com.google.protobuf.ProtocolStringListrepeated string load_errors = 310147300;booleanWhether the given UrlMap can be successfully loaded.getTestFailures(int index) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;getTestFailuresBuilder(int index) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;intrepeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;getTestFailuresOrBuilder(int index) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;List<? extends TestFailureOrBuilder>repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;booleanIf successfully loaded, this field indicates whether the test passed.booleanWhether the given UrlMap can be successfully loaded.booleanIf successfully loaded, this field indicates whether the test passed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UrlMapValidationResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTestFailures(int index) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;setLoadErrors(int index, String value) repeated string load_errors = 310147300;setLoadSucceeded(boolean value) Whether the given UrlMap can be successfully loaded.setTestFailures(int index, TestFailure value) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;setTestFailures(int index, TestFailure.Builder builderForValue) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;setTestPassed(boolean value) If successfully loaded, this field indicates whether the test passed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlMapValidationResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
-
mergeFrom
public UrlMapValidationResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlMapValidationResult.Builder>- Throws:
IOException
-
getLoadErrorsList
public com.google.protobuf.ProtocolStringList getLoadErrorsList()repeated string load_errors = 310147300;- Specified by:
getLoadErrorsListin interfaceUrlMapValidationResultOrBuilder- Returns:
- A list containing the loadErrors.
-
getLoadErrorsCount
public int getLoadErrorsCount()repeated string load_errors = 310147300;- Specified by:
getLoadErrorsCountin interfaceUrlMapValidationResultOrBuilder- Returns:
- The count of loadErrors.
-
getLoadErrors
repeated string load_errors = 310147300;- Specified by:
getLoadErrorsin interfaceUrlMapValidationResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The loadErrors at the given index.
-
getLoadErrorsBytes
public com.google.protobuf.ByteString getLoadErrorsBytes(int index) repeated string load_errors = 310147300;- Specified by:
getLoadErrorsBytesin interfaceUrlMapValidationResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the loadErrors at the given index.
-
setLoadErrors
repeated string load_errors = 310147300;- Parameters:
index- The index to set the value at.value- The loadErrors to set.- Returns:
- This builder for chaining.
-
addLoadErrors
repeated string load_errors = 310147300;- Parameters:
value- The loadErrors to add.- Returns:
- This builder for chaining.
-
addAllLoadErrors
repeated string load_errors = 310147300;- Parameters:
values- The loadErrors to add.- Returns:
- This builder for chaining.
-
clearLoadErrors
repeated string load_errors = 310147300;- Returns:
- This builder for chaining.
-
addLoadErrorsBytes
repeated string load_errors = 310147300;- Parameters:
value- The bytes of the loadErrors to add.- Returns:
- This builder for chaining.
-
hasLoadSucceeded
public boolean hasLoadSucceeded()Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;- Specified by:
hasLoadSucceededin interfaceUrlMapValidationResultOrBuilder- Returns:
- Whether the loadSucceeded field is set.
-
getLoadSucceeded
public boolean getLoadSucceeded()Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;- Specified by:
getLoadSucceededin interfaceUrlMapValidationResultOrBuilder- Returns:
- The loadSucceeded.
-
setLoadSucceeded
Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;- Parameters:
value- The loadSucceeded to set.- Returns:
- This builder for chaining.
-
clearLoadSucceeded
Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.
optional bool load_succeeded = 128326216;- Returns:
- This builder for chaining.
-
getTestFailuresList
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;- Specified by:
getTestFailuresListin interfaceUrlMapValidationResultOrBuilder
-
getTestFailuresCount
public int getTestFailuresCount()repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;- Specified by:
getTestFailuresCountin interfaceUrlMapValidationResultOrBuilder
-
getTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;- Specified by:
getTestFailuresin interfaceUrlMapValidationResultOrBuilder
-
setTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
setTestFailures
public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure.Builder builderForValue) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
addTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
addTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
addTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
addTestFailures
public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure.Builder builderForValue) repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
addAllTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
clearTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
removeTestFailures
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
getTestFailuresBuilder
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
getTestFailuresOrBuilder
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;- Specified by:
getTestFailuresOrBuilderin interfaceUrlMapValidationResultOrBuilder
-
getTestFailuresOrBuilderList
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;- Specified by:
getTestFailuresOrBuilderListin interfaceUrlMapValidationResultOrBuilder
-
addTestFailuresBuilder
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
addTestFailuresBuilder
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
getTestFailuresBuilderList
repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134; -
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;- Specified by:
hasTestPassedin interfaceUrlMapValidationResultOrBuilder- Returns:
- Whether the testPassed field is set.
-
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;- Specified by:
getTestPassedin interfaceUrlMapValidationResultOrBuilder- Returns:
- The testPassed.
-
setTestPassed
If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.
optional bool test_passed = 192708797;- Parameters:
value- The testPassed to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-