• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 ErrorsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Errors)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] The error type identifier for this error.
31    * </pre>
32    *
33    * <code>optional string code = 3059181;</code>
34    *
35    * @return Whether the code field is set.
36    */
hasCode()37   boolean hasCode();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] The error type identifier for this error.
43    * </pre>
44    *
45    * <code>optional string code = 3059181;</code>
46    *
47    * @return The code.
48    */
getCode()49   java.lang.String getCode();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] The error type identifier for this error.
55    * </pre>
56    *
57    * <code>optional string code = 3059181;</code>
58    *
59    * @return The bytes for code.
60    */
getCodeBytes()61   com.google.protobuf.ByteString getCodeBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
68    * </pre>
69    *
70    * <code>repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;</code>
71    */
getErrorDetailsList()72   java.util.List<com.google.cloud.compute.v1.ErrorDetails> getErrorDetailsList();
73   /**
74    *
75    *
76    * <pre>
77    * [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
78    * </pre>
79    *
80    * <code>repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;</code>
81    */
getErrorDetails(int index)82   com.google.cloud.compute.v1.ErrorDetails getErrorDetails(int index);
83   /**
84    *
85    *
86    * <pre>
87    * [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
88    * </pre>
89    *
90    * <code>repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;</code>
91    */
getErrorDetailsCount()92   int getErrorDetailsCount();
93   /**
94    *
95    *
96    * <pre>
97    * [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
98    * </pre>
99    *
100    * <code>repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;</code>
101    */
102   java.util.List<? extends com.google.cloud.compute.v1.ErrorDetailsOrBuilder>
getErrorDetailsOrBuilderList()103       getErrorDetailsOrBuilderList();
104   /**
105    *
106    *
107    * <pre>
108    * [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
109    * </pre>
110    *
111    * <code>repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;</code>
112    */
getErrorDetailsOrBuilder(int index)113   com.google.cloud.compute.v1.ErrorDetailsOrBuilder getErrorDetailsOrBuilder(int index);
114 
115   /**
116    *
117    *
118    * <pre>
119    * [Output Only] Indicates the field in the request that caused the error. This property is optional.
120    * </pre>
121    *
122    * <code>optional string location = 290430901;</code>
123    *
124    * @return Whether the location field is set.
125    */
hasLocation()126   boolean hasLocation();
127   /**
128    *
129    *
130    * <pre>
131    * [Output Only] Indicates the field in the request that caused the error. This property is optional.
132    * </pre>
133    *
134    * <code>optional string location = 290430901;</code>
135    *
136    * @return The location.
137    */
getLocation()138   java.lang.String getLocation();
139   /**
140    *
141    *
142    * <pre>
143    * [Output Only] Indicates the field in the request that caused the error. This property is optional.
144    * </pre>
145    *
146    * <code>optional string location = 290430901;</code>
147    *
148    * @return The bytes for location.
149    */
getLocationBytes()150   com.google.protobuf.ByteString getLocationBytes();
151 
152   /**
153    *
154    *
155    * <pre>
156    * [Output Only] An optional, human-readable error message.
157    * </pre>
158    *
159    * <code>optional string message = 418054151;</code>
160    *
161    * @return Whether the message field is set.
162    */
hasMessage()163   boolean hasMessage();
164   /**
165    *
166    *
167    * <pre>
168    * [Output Only] An optional, human-readable error message.
169    * </pre>
170    *
171    * <code>optional string message = 418054151;</code>
172    *
173    * @return The message.
174    */
getMessage()175   java.lang.String getMessage();
176   /**
177    *
178    *
179    * <pre>
180    * [Output Only] An optional, human-readable error message.
181    * </pre>
182    *
183    * <code>optional string message = 418054151;</code>
184    *
185    * @return The bytes for message.
186    */
getMessageBytes()187   com.google.protobuf.ByteString getMessageBytes();
188 }
189