1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface UrlMapValidationResultOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UrlMapValidationResult) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * <code>repeated string load_errors = 310147300;</code> 28 * 29 * @return A list containing the loadErrors. 30 */ getLoadErrorsList()31 java.util.List<java.lang.String> getLoadErrorsList(); 32 /** 33 * <code>repeated string load_errors = 310147300;</code> 34 * 35 * @return The count of loadErrors. 36 */ getLoadErrorsCount()37 int getLoadErrorsCount(); 38 /** 39 * <code>repeated string load_errors = 310147300;</code> 40 * 41 * @param index The index of the element to return. 42 * @return The loadErrors at the given index. 43 */ getLoadErrors(int index)44 java.lang.String getLoadErrors(int index); 45 /** 46 * <code>repeated string load_errors = 310147300;</code> 47 * 48 * @param index The index of the value to return. 49 * @return The bytes of the loadErrors at the given index. 50 */ getLoadErrorsBytes(int index)51 com.google.protobuf.ByteString getLoadErrorsBytes(int index); 52 53 /** 54 * 55 * 56 * <pre> 57 * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons. 58 * </pre> 59 * 60 * <code>optional bool load_succeeded = 128326216;</code> 61 * 62 * @return Whether the loadSucceeded field is set. 63 */ hasLoadSucceeded()64 boolean hasLoadSucceeded(); 65 /** 66 * 67 * 68 * <pre> 69 * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons. 70 * </pre> 71 * 72 * <code>optional bool load_succeeded = 128326216;</code> 73 * 74 * @return The loadSucceeded. 75 */ getLoadSucceeded()76 boolean getLoadSucceeded(); 77 78 /** <code>repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;</code> */ getTestFailuresList()79 java.util.List<com.google.cloud.compute.v1.TestFailure> getTestFailuresList(); 80 /** <code>repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;</code> */ getTestFailures(int index)81 com.google.cloud.compute.v1.TestFailure getTestFailures(int index); 82 /** <code>repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;</code> */ getTestFailuresCount()83 int getTestFailuresCount(); 84 /** <code>repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;</code> */ 85 java.util.List<? extends com.google.cloud.compute.v1.TestFailureOrBuilder> getTestFailuresOrBuilderList()86 getTestFailuresOrBuilderList(); 87 /** <code>repeated .google.cloud.compute.v1.TestFailure test_failures = 505934134;</code> */ getTestFailuresOrBuilder(int index)88 com.google.cloud.compute.v1.TestFailureOrBuilder getTestFailuresOrBuilder(int index); 89 90 /** 91 * 92 * 93 * <pre> 94 * If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure. 95 * </pre> 96 * 97 * <code>optional bool test_passed = 192708797;</code> 98 * 99 * @return Whether the testPassed field is set. 100 */ hasTestPassed()101 boolean hasTestPassed(); 102 /** 103 * 104 * 105 * <pre> 106 * If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure. 107 * </pre> 108 * 109 * <code>optional bool test_passed = 192708797;</code> 110 * 111 * @return The testPassed. 112 */ getTestPassed()113 boolean getTestPassed(); 114 } 115