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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UrlMapValidationResult.Builder>
    • getDefaultInstanceForType

      public UrlMapValidationResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UrlMapValidationResult build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UrlMapValidationResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UrlMapValidationResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UrlMapValidationResult.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UrlMapValidationResult.Builder>
      Throws:
      IOException
    • getLoadErrorsList

      public com.google.protobuf.ProtocolStringList getLoadErrorsList()
      repeated string load_errors = 310147300;
      Specified by:
      getLoadErrorsList in interface UrlMapValidationResultOrBuilder
      Returns:
      A list containing the loadErrors.
    • getLoadErrorsCount

      public int getLoadErrorsCount()
      repeated string load_errors = 310147300;
      Specified by:
      getLoadErrorsCount in interface UrlMapValidationResultOrBuilder
      Returns:
      The count of loadErrors.
    • getLoadErrors

      public String getLoadErrors(int index)
      repeated string load_errors = 310147300;
      Specified by:
      getLoadErrors in interface UrlMapValidationResultOrBuilder
      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:
      getLoadErrorsBytes in interface UrlMapValidationResultOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the loadErrors at the given index.
    • setLoadErrors

      public UrlMapValidationResult.Builder setLoadErrors(int index, String value)
      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

      public UrlMapValidationResult.Builder addLoadErrors(String value)
      repeated string load_errors = 310147300;
      Parameters:
      value - The loadErrors to add.
      Returns:
      This builder for chaining.
    • addAllLoadErrors

      public UrlMapValidationResult.Builder addAllLoadErrors(Iterable<String> values)
      repeated string load_errors = 310147300;
      Parameters:
      values - The loadErrors to add.
      Returns:
      This builder for chaining.
    • clearLoadErrors

      public UrlMapValidationResult.Builder clearLoadErrors()
      repeated string load_errors = 310147300;
      Returns:
      This builder for chaining.
    • addLoadErrorsBytes

      public UrlMapValidationResult.Builder addLoadErrorsBytes(com.google.protobuf.ByteString value)
      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:
      hasLoadSucceeded in interface UrlMapValidationResultOrBuilder
      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:
      getLoadSucceeded in interface UrlMapValidationResultOrBuilder
      Returns:
      The loadSucceeded.
    • setLoadSucceeded

      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;
      Parameters:
      value - The loadSucceeded to set.
      Returns:
      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:
      This builder for chaining.
    • getTestFailuresList

      public List<TestFailure> getTestFailuresList()
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
      Specified by:
      getTestFailuresList in interface UrlMapValidationResultOrBuilder
    • getTestFailuresCount

      public int getTestFailuresCount()
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
      Specified by:
      getTestFailuresCount in interface UrlMapValidationResultOrBuilder
    • getTestFailures

      public TestFailure getTestFailures(int index)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
      Specified by:
      getTestFailures in interface UrlMapValidationResultOrBuilder
    • setTestFailures

      public UrlMapValidationResult.Builder setTestFailures(int index, TestFailure value)
      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

      public UrlMapValidationResult.Builder addTestFailures(TestFailure value)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • addTestFailures

      public UrlMapValidationResult.Builder addTestFailures(int index, TestFailure value)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • addTestFailures

      public UrlMapValidationResult.Builder addTestFailures(TestFailure.Builder builderForValue)
      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

      public UrlMapValidationResult.Builder addAllTestFailures(Iterable<? extends TestFailure> values)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • clearTestFailures

      public UrlMapValidationResult.Builder clearTestFailures()
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • removeTestFailures

      public UrlMapValidationResult.Builder removeTestFailures(int index)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • getTestFailuresBuilder

      public TestFailure.Builder getTestFailuresBuilder(int index)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • getTestFailuresOrBuilder

      public TestFailureOrBuilder getTestFailuresOrBuilder(int index)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
      Specified by:
      getTestFailuresOrBuilder in interface UrlMapValidationResultOrBuilder
    • getTestFailuresOrBuilderList

      public List<? extends TestFailureOrBuilder> getTestFailuresOrBuilderList()
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
      Specified by:
      getTestFailuresOrBuilderList in interface UrlMapValidationResultOrBuilder
    • addTestFailuresBuilder

      public TestFailure.Builder addTestFailuresBuilder()
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • addTestFailuresBuilder

      public TestFailure.Builder addTestFailuresBuilder(int index)
      repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;
    • getTestFailuresBuilderList

      public List<TestFailure.Builder> 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:
      hasTestPassed in interface UrlMapValidationResultOrBuilder
      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:
      getTestPassed in interface UrlMapValidationResultOrBuilder
      Returns:
      The testPassed.
    • setTestPassed

      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;
      Parameters:
      value - The testPassed to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.