Class UrlMapValidationResult.Builder

    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public UrlMapValidationResult.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>
      • clearField

        public UrlMapValidationResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>
      • clearOneof

        public UrlMapValidationResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>
      • setRepeatedField

        public UrlMapValidationResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>
      • addRepeatedField

        public UrlMapValidationResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • 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.
      • 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;
      • 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.
      • setUnknownFields

        public final UrlMapValidationResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>
      • mergeUnknownFields

        public final UrlMapValidationResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMapValidationResult.Builder>