• 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 /**
22  *
23  *
24  * <pre>
25  * </pre>
26  *
27  * Protobuf type {@code google.cloud.compute.v1.Warnings}
28  */
29 public final class Warnings extends com.google.protobuf.GeneratedMessageV3
30     implements
31     // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.Warnings)
32     WarningsOrBuilder {
33   private static final long serialVersionUID = 0L;
34   // Use Warnings.newBuilder() to construct.
Warnings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)35   private Warnings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
36     super(builder);
37   }
38 
Warnings()39   private Warnings() {
40     code_ = "";
41     data_ = java.util.Collections.emptyList();
42     message_ = "";
43   }
44 
45   @java.lang.Override
46   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)47   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
48     return new Warnings();
49   }
50 
51   @java.lang.Override
getUnknownFields()52   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
53     return this.unknownFields;
54   }
55 
getDescriptor()56   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
57     return com.google.cloud.compute.v1.Compute
58         .internal_static_google_cloud_compute_v1_Warnings_descriptor;
59   }
60 
61   @java.lang.Override
62   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()63       internalGetFieldAccessorTable() {
64     return com.google.cloud.compute.v1.Compute
65         .internal_static_google_cloud_compute_v1_Warnings_fieldAccessorTable
66         .ensureFieldAccessorsInitialized(
67             com.google.cloud.compute.v1.Warnings.class,
68             com.google.cloud.compute.v1.Warnings.Builder.class);
69   }
70 
71   /**
72    *
73    *
74    * <pre>
75    * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
76    * </pre>
77    *
78    * Protobuf enum {@code google.cloud.compute.v1.Warnings.Code}
79    */
80   public enum Code implements com.google.protobuf.ProtocolMessageEnum {
81     /**
82      *
83      *
84      * <pre>
85      * A value indicating that the enum field is not set.
86      * </pre>
87      *
88      * <code>UNDEFINED_CODE = 0;</code>
89      */
90     UNDEFINED_CODE(0),
91     /**
92      *
93      *
94      * <pre>
95      * Warning about failed cleanup of transient changes made by a failed operation.
96      * </pre>
97      *
98      * <code>CLEANUP_FAILED = 150308440;</code>
99      */
100     CLEANUP_FAILED(150308440),
101     /**
102      *
103      *
104      * <pre>
105      * A link to a deprecated resource was created.
106      * </pre>
107      *
108      * <code>DEPRECATED_RESOURCE_USED = 391835586;</code>
109      */
110     DEPRECATED_RESOURCE_USED(391835586),
111     /**
112      *
113      *
114      * <pre>
115      * When deploying and at least one of the resources has a type marked as deprecated
116      * </pre>
117      *
118      * <code>DEPRECATED_TYPE_USED = 346526230;</code>
119      */
120     DEPRECATED_TYPE_USED(346526230),
121     /**
122      *
123      *
124      * <pre>
125      * The user created a boot disk that is larger than image size.
126      * </pre>
127      *
128      * <code>DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;</code>
129      */
130     DISK_SIZE_LARGER_THAN_IMAGE_SIZE(369442967),
131     /**
132      *
133      *
134      * <pre>
135      * When deploying and at least one of the resources has a type marked as experimental
136      * </pre>
137      *
138      * <code>EXPERIMENTAL_TYPE_USED = 451954443;</code>
139      */
140     EXPERIMENTAL_TYPE_USED(451954443),
141     /**
142      *
143      *
144      * <pre>
145      * Warning that is present in an external api call
146      * </pre>
147      *
148      * <code>EXTERNAL_API_WARNING = 175546307;</code>
149      */
150     EXTERNAL_API_WARNING(175546307),
151     /**
152      *
153      *
154      * <pre>
155      * Warning that value of a field has been overridden. Deprecated unused field.
156      * </pre>
157      *
158      * <code>FIELD_VALUE_OVERRIDEN = 329669423;</code>
159      */
160     FIELD_VALUE_OVERRIDEN(329669423),
161     /**
162      *
163      *
164      * <pre>
165      * The operation involved use of an injected kernel, which is deprecated.
166      * </pre>
167      *
168      * <code>INJECTED_KERNELS_DEPRECATED = 417377419;</code>
169      */
170     INJECTED_KERNELS_DEPRECATED(417377419),
171     /**
172      *
173      *
174      * <pre>
175      * A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
176      * </pre>
177      *
178      * <code>INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606;</code>
179      */
180     INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB(401542606),
181     /**
182      *
183      *
184      * <pre>
185      * When deploying a deployment with a exceedingly large number of resources
186      * </pre>
187      *
188      * <code>LARGE_DEPLOYMENT_WARNING = 481440678;</code>
189      */
190     LARGE_DEPLOYMENT_WARNING(481440678),
191     /**
192      *
193      *
194      * <pre>
195      * A resource depends on a missing type
196      * </pre>
197      *
198      * <code>MISSING_TYPE_DEPENDENCY = 344505463;</code>
199      */
200     MISSING_TYPE_DEPENDENCY(344505463),
201     /**
202      *
203      *
204      * <pre>
205      * The route's nextHopIp address is not assigned to an instance on the network.
206      * </pre>
207      *
208      * <code>NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;</code>
209      */
210     NEXT_HOP_ADDRESS_NOT_ASSIGNED(324964999),
211     /**
212      *
213      *
214      * <pre>
215      * The route's next hop instance cannot ip forward.
216      * </pre>
217      *
218      * <code>NEXT_HOP_CANNOT_IP_FORWARD = 383382887;</code>
219      */
220     NEXT_HOP_CANNOT_IP_FORWARD(383382887),
221     /**
222      *
223      *
224      * <pre>
225      * The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
226      * </pre>
227      *
228      * <code>NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434;</code>
229      */
230     NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE(146748434),
231     /**
232      *
233      *
234      * <pre>
235      * The route's nextHopInstance URL refers to an instance that does not exist.
236      * </pre>
237      *
238      * <code>NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;</code>
239      */
240     NEXT_HOP_INSTANCE_NOT_FOUND(464250446),
241     /**
242      *
243      *
244      * <pre>
245      * The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
246      * </pre>
247      *
248      * <code>NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;</code>
249      */
250     NEXT_HOP_INSTANCE_NOT_ON_NETWORK(243758146),
251     /**
252      *
253      *
254      * <pre>
255      * The route's next hop instance does not have a status of RUNNING.
256      * </pre>
257      *
258      * <code>NEXT_HOP_NOT_RUNNING = 417081265;</code>
259      */
260     NEXT_HOP_NOT_RUNNING(417081265),
261     /**
262      *
263      *
264      * <pre>
265      * Error which is not critical. We decided to continue the process despite the mentioned error.
266      * </pre>
267      *
268      * <code>NOT_CRITICAL_ERROR = 105763924;</code>
269      */
270     NOT_CRITICAL_ERROR(105763924),
271     /**
272      *
273      *
274      * <pre>
275      * No results are present on a particular list page.
276      * </pre>
277      *
278      * <code>NO_RESULTS_ON_PAGE = 30036744;</code>
279      */
280     NO_RESULTS_ON_PAGE(30036744),
281     /**
282      *
283      *
284      * <pre>
285      * Success is reported, but some results may be missing due to errors
286      * </pre>
287      *
288      * <code>PARTIAL_SUCCESS = 39966469;</code>
289      */
290     PARTIAL_SUCCESS(39966469),
291     /**
292      *
293      *
294      * <pre>
295      * The user attempted to use a resource that requires a TOS they have not accepted.
296      * </pre>
297      *
298      * <code>REQUIRED_TOS_AGREEMENT = 3745539;</code>
299      */
300     REQUIRED_TOS_AGREEMENT(3745539),
301     /**
302      *
303      *
304      * <pre>
305      * Warning that a resource is in use.
306      * </pre>
307      *
308      * <code>RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;</code>
309      */
310     RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING(496728641),
311     /**
312      *
313      *
314      * <pre>
315      * One or more of the resources set to auto-delete could not be deleted because they were in use.
316      * </pre>
317      *
318      * <code>RESOURCE_NOT_DELETED = 168598460;</code>
319      */
320     RESOURCE_NOT_DELETED(168598460),
321     /**
322      *
323      *
324      * <pre>
325      * When a resource schema validation is ignored.
326      * </pre>
327      *
328      * <code>SCHEMA_VALIDATION_IGNORED = 275245642;</code>
329      */
330     SCHEMA_VALIDATION_IGNORED(275245642),
331     /**
332      *
333      *
334      * <pre>
335      * Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
336      * </pre>
337      *
338      * <code>SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;</code>
339      */
340     SINGLE_INSTANCE_PROPERTY_TEMPLATE(268305617),
341     /**
342      *
343      *
344      * <pre>
345      * When undeclared properties in the schema are present
346      * </pre>
347      *
348      * <code>UNDECLARED_PROPERTIES = 390513439;</code>
349      */
350     UNDECLARED_PROPERTIES(390513439),
351     /**
352      *
353      *
354      * <pre>
355      * A given scope cannot be reached.
356      * </pre>
357      *
358      * <code>UNREACHABLE = 13328052;</code>
359      */
360     UNREACHABLE(13328052),
361     UNRECOGNIZED(-1),
362     ;
363 
364     /**
365      *
366      *
367      * <pre>
368      * A value indicating that the enum field is not set.
369      * </pre>
370      *
371      * <code>UNDEFINED_CODE = 0;</code>
372      */
373     public static final int UNDEFINED_CODE_VALUE = 0;
374     /**
375      *
376      *
377      * <pre>
378      * Warning about failed cleanup of transient changes made by a failed operation.
379      * </pre>
380      *
381      * <code>CLEANUP_FAILED = 150308440;</code>
382      */
383     public static final int CLEANUP_FAILED_VALUE = 150308440;
384     /**
385      *
386      *
387      * <pre>
388      * A link to a deprecated resource was created.
389      * </pre>
390      *
391      * <code>DEPRECATED_RESOURCE_USED = 391835586;</code>
392      */
393     public static final int DEPRECATED_RESOURCE_USED_VALUE = 391835586;
394     /**
395      *
396      *
397      * <pre>
398      * When deploying and at least one of the resources has a type marked as deprecated
399      * </pre>
400      *
401      * <code>DEPRECATED_TYPE_USED = 346526230;</code>
402      */
403     public static final int DEPRECATED_TYPE_USED_VALUE = 346526230;
404     /**
405      *
406      *
407      * <pre>
408      * The user created a boot disk that is larger than image size.
409      * </pre>
410      *
411      * <code>DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;</code>
412      */
413     public static final int DISK_SIZE_LARGER_THAN_IMAGE_SIZE_VALUE = 369442967;
414     /**
415      *
416      *
417      * <pre>
418      * When deploying and at least one of the resources has a type marked as experimental
419      * </pre>
420      *
421      * <code>EXPERIMENTAL_TYPE_USED = 451954443;</code>
422      */
423     public static final int EXPERIMENTAL_TYPE_USED_VALUE = 451954443;
424     /**
425      *
426      *
427      * <pre>
428      * Warning that is present in an external api call
429      * </pre>
430      *
431      * <code>EXTERNAL_API_WARNING = 175546307;</code>
432      */
433     public static final int EXTERNAL_API_WARNING_VALUE = 175546307;
434     /**
435      *
436      *
437      * <pre>
438      * Warning that value of a field has been overridden. Deprecated unused field.
439      * </pre>
440      *
441      * <code>FIELD_VALUE_OVERRIDEN = 329669423;</code>
442      */
443     public static final int FIELD_VALUE_OVERRIDEN_VALUE = 329669423;
444     /**
445      *
446      *
447      * <pre>
448      * The operation involved use of an injected kernel, which is deprecated.
449      * </pre>
450      *
451      * <code>INJECTED_KERNELS_DEPRECATED = 417377419;</code>
452      */
453     public static final int INJECTED_KERNELS_DEPRECATED_VALUE = 417377419;
454     /**
455      *
456      *
457      * <pre>
458      * A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
459      * </pre>
460      *
461      * <code>INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606;</code>
462      */
463     public static final int INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB_VALUE = 401542606;
464     /**
465      *
466      *
467      * <pre>
468      * When deploying a deployment with a exceedingly large number of resources
469      * </pre>
470      *
471      * <code>LARGE_DEPLOYMENT_WARNING = 481440678;</code>
472      */
473     public static final int LARGE_DEPLOYMENT_WARNING_VALUE = 481440678;
474     /**
475      *
476      *
477      * <pre>
478      * A resource depends on a missing type
479      * </pre>
480      *
481      * <code>MISSING_TYPE_DEPENDENCY = 344505463;</code>
482      */
483     public static final int MISSING_TYPE_DEPENDENCY_VALUE = 344505463;
484     /**
485      *
486      *
487      * <pre>
488      * The route's nextHopIp address is not assigned to an instance on the network.
489      * </pre>
490      *
491      * <code>NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;</code>
492      */
493     public static final int NEXT_HOP_ADDRESS_NOT_ASSIGNED_VALUE = 324964999;
494     /**
495      *
496      *
497      * <pre>
498      * The route's next hop instance cannot ip forward.
499      * </pre>
500      *
501      * <code>NEXT_HOP_CANNOT_IP_FORWARD = 383382887;</code>
502      */
503     public static final int NEXT_HOP_CANNOT_IP_FORWARD_VALUE = 383382887;
504     /**
505      *
506      *
507      * <pre>
508      * The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
509      * </pre>
510      *
511      * <code>NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434;</code>
512      */
513     public static final int NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE_VALUE = 146748434;
514     /**
515      *
516      *
517      * <pre>
518      * The route's nextHopInstance URL refers to an instance that does not exist.
519      * </pre>
520      *
521      * <code>NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;</code>
522      */
523     public static final int NEXT_HOP_INSTANCE_NOT_FOUND_VALUE = 464250446;
524     /**
525      *
526      *
527      * <pre>
528      * The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
529      * </pre>
530      *
531      * <code>NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;</code>
532      */
533     public static final int NEXT_HOP_INSTANCE_NOT_ON_NETWORK_VALUE = 243758146;
534     /**
535      *
536      *
537      * <pre>
538      * The route's next hop instance does not have a status of RUNNING.
539      * </pre>
540      *
541      * <code>NEXT_HOP_NOT_RUNNING = 417081265;</code>
542      */
543     public static final int NEXT_HOP_NOT_RUNNING_VALUE = 417081265;
544     /**
545      *
546      *
547      * <pre>
548      * Error which is not critical. We decided to continue the process despite the mentioned error.
549      * </pre>
550      *
551      * <code>NOT_CRITICAL_ERROR = 105763924;</code>
552      */
553     public static final int NOT_CRITICAL_ERROR_VALUE = 105763924;
554     /**
555      *
556      *
557      * <pre>
558      * No results are present on a particular list page.
559      * </pre>
560      *
561      * <code>NO_RESULTS_ON_PAGE = 30036744;</code>
562      */
563     public static final int NO_RESULTS_ON_PAGE_VALUE = 30036744;
564     /**
565      *
566      *
567      * <pre>
568      * Success is reported, but some results may be missing due to errors
569      * </pre>
570      *
571      * <code>PARTIAL_SUCCESS = 39966469;</code>
572      */
573     public static final int PARTIAL_SUCCESS_VALUE = 39966469;
574     /**
575      *
576      *
577      * <pre>
578      * The user attempted to use a resource that requires a TOS they have not accepted.
579      * </pre>
580      *
581      * <code>REQUIRED_TOS_AGREEMENT = 3745539;</code>
582      */
583     public static final int REQUIRED_TOS_AGREEMENT_VALUE = 3745539;
584     /**
585      *
586      *
587      * <pre>
588      * Warning that a resource is in use.
589      * </pre>
590      *
591      * <code>RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;</code>
592      */
593     public static final int RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING_VALUE = 496728641;
594     /**
595      *
596      *
597      * <pre>
598      * One or more of the resources set to auto-delete could not be deleted because they were in use.
599      * </pre>
600      *
601      * <code>RESOURCE_NOT_DELETED = 168598460;</code>
602      */
603     public static final int RESOURCE_NOT_DELETED_VALUE = 168598460;
604     /**
605      *
606      *
607      * <pre>
608      * When a resource schema validation is ignored.
609      * </pre>
610      *
611      * <code>SCHEMA_VALIDATION_IGNORED = 275245642;</code>
612      */
613     public static final int SCHEMA_VALIDATION_IGNORED_VALUE = 275245642;
614     /**
615      *
616      *
617      * <pre>
618      * Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
619      * </pre>
620      *
621      * <code>SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;</code>
622      */
623     public static final int SINGLE_INSTANCE_PROPERTY_TEMPLATE_VALUE = 268305617;
624     /**
625      *
626      *
627      * <pre>
628      * When undeclared properties in the schema are present
629      * </pre>
630      *
631      * <code>UNDECLARED_PROPERTIES = 390513439;</code>
632      */
633     public static final int UNDECLARED_PROPERTIES_VALUE = 390513439;
634     /**
635      *
636      *
637      * <pre>
638      * A given scope cannot be reached.
639      * </pre>
640      *
641      * <code>UNREACHABLE = 13328052;</code>
642      */
643     public static final int UNREACHABLE_VALUE = 13328052;
644 
getNumber()645     public final int getNumber() {
646       if (this == UNRECOGNIZED) {
647         throw new java.lang.IllegalArgumentException(
648             "Can't get the number of an unknown enum value.");
649       }
650       return value;
651     }
652 
653     /**
654      * @param value The numeric wire value of the corresponding enum entry.
655      * @return The enum associated with the given numeric wire value.
656      * @deprecated Use {@link #forNumber(int)} instead.
657      */
658     @java.lang.Deprecated
valueOf(int value)659     public static Code valueOf(int value) {
660       return forNumber(value);
661     }
662 
663     /**
664      * @param value The numeric wire value of the corresponding enum entry.
665      * @return The enum associated with the given numeric wire value.
666      */
forNumber(int value)667     public static Code forNumber(int value) {
668       switch (value) {
669         case 0:
670           return UNDEFINED_CODE;
671         case 150308440:
672           return CLEANUP_FAILED;
673         case 391835586:
674           return DEPRECATED_RESOURCE_USED;
675         case 346526230:
676           return DEPRECATED_TYPE_USED;
677         case 369442967:
678           return DISK_SIZE_LARGER_THAN_IMAGE_SIZE;
679         case 451954443:
680           return EXPERIMENTAL_TYPE_USED;
681         case 175546307:
682           return EXTERNAL_API_WARNING;
683         case 329669423:
684           return FIELD_VALUE_OVERRIDEN;
685         case 417377419:
686           return INJECTED_KERNELS_DEPRECATED;
687         case 401542606:
688           return INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB;
689         case 481440678:
690           return LARGE_DEPLOYMENT_WARNING;
691         case 344505463:
692           return MISSING_TYPE_DEPENDENCY;
693         case 324964999:
694           return NEXT_HOP_ADDRESS_NOT_ASSIGNED;
695         case 383382887:
696           return NEXT_HOP_CANNOT_IP_FORWARD;
697         case 146748434:
698           return NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE;
699         case 464250446:
700           return NEXT_HOP_INSTANCE_NOT_FOUND;
701         case 243758146:
702           return NEXT_HOP_INSTANCE_NOT_ON_NETWORK;
703         case 417081265:
704           return NEXT_HOP_NOT_RUNNING;
705         case 105763924:
706           return NOT_CRITICAL_ERROR;
707         case 30036744:
708           return NO_RESULTS_ON_PAGE;
709         case 39966469:
710           return PARTIAL_SUCCESS;
711         case 3745539:
712           return REQUIRED_TOS_AGREEMENT;
713         case 496728641:
714           return RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING;
715         case 168598460:
716           return RESOURCE_NOT_DELETED;
717         case 275245642:
718           return SCHEMA_VALIDATION_IGNORED;
719         case 268305617:
720           return SINGLE_INSTANCE_PROPERTY_TEMPLATE;
721         case 390513439:
722           return UNDECLARED_PROPERTIES;
723         case 13328052:
724           return UNREACHABLE;
725         default:
726           return null;
727       }
728     }
729 
internalGetValueMap()730     public static com.google.protobuf.Internal.EnumLiteMap<Code> internalGetValueMap() {
731       return internalValueMap;
732     }
733 
734     private static final com.google.protobuf.Internal.EnumLiteMap<Code> internalValueMap =
735         new com.google.protobuf.Internal.EnumLiteMap<Code>() {
736           public Code findValueByNumber(int number) {
737             return Code.forNumber(number);
738           }
739         };
740 
getValueDescriptor()741     public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
742       if (this == UNRECOGNIZED) {
743         throw new java.lang.IllegalStateException(
744             "Can't get the descriptor of an unrecognized enum value.");
745       }
746       return getDescriptor().getValues().get(ordinal());
747     }
748 
getDescriptorForType()749     public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
750       return getDescriptor();
751     }
752 
getDescriptor()753     public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
754       return com.google.cloud.compute.v1.Warnings.getDescriptor().getEnumTypes().get(0);
755     }
756 
757     private static final Code[] VALUES = values();
758 
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)759     public static Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
760       if (desc.getType() != getDescriptor()) {
761         throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
762       }
763       if (desc.getIndex() == -1) {
764         return UNRECOGNIZED;
765       }
766       return VALUES[desc.getIndex()];
767     }
768 
769     private final int value;
770 
Code(int value)771     private Code(int value) {
772       this.value = value;
773     }
774 
775     // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Warnings.Code)
776   }
777 
778   private int bitField0_;
779   public static final int CODE_FIELD_NUMBER = 3059181;
780 
781   @SuppressWarnings("serial")
782   private volatile java.lang.Object code_ = "";
783   /**
784    *
785    *
786    * <pre>
787    * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
788    * Check the Code enum for the list of possible values.
789    * </pre>
790    *
791    * <code>optional string code = 3059181;</code>
792    *
793    * @return Whether the code field is set.
794    */
795   @java.lang.Override
hasCode()796   public boolean hasCode() {
797     return ((bitField0_ & 0x00000001) != 0);
798   }
799   /**
800    *
801    *
802    * <pre>
803    * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
804    * Check the Code enum for the list of possible values.
805    * </pre>
806    *
807    * <code>optional string code = 3059181;</code>
808    *
809    * @return The code.
810    */
811   @java.lang.Override
getCode()812   public java.lang.String getCode() {
813     java.lang.Object ref = code_;
814     if (ref instanceof java.lang.String) {
815       return (java.lang.String) ref;
816     } else {
817       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
818       java.lang.String s = bs.toStringUtf8();
819       code_ = s;
820       return s;
821     }
822   }
823   /**
824    *
825    *
826    * <pre>
827    * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
828    * Check the Code enum for the list of possible values.
829    * </pre>
830    *
831    * <code>optional string code = 3059181;</code>
832    *
833    * @return The bytes for code.
834    */
835   @java.lang.Override
getCodeBytes()836   public com.google.protobuf.ByteString getCodeBytes() {
837     java.lang.Object ref = code_;
838     if (ref instanceof java.lang.String) {
839       com.google.protobuf.ByteString b =
840           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
841       code_ = b;
842       return b;
843     } else {
844       return (com.google.protobuf.ByteString) ref;
845     }
846   }
847 
848   public static final int DATA_FIELD_NUMBER = 3076010;
849 
850   @SuppressWarnings("serial")
851   private java.util.List<com.google.cloud.compute.v1.Data> data_;
852   /**
853    *
854    *
855    * <pre>
856    * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
857    * </pre>
858    *
859    * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
860    */
861   @java.lang.Override
getDataList()862   public java.util.List<com.google.cloud.compute.v1.Data> getDataList() {
863     return data_;
864   }
865   /**
866    *
867    *
868    * <pre>
869    * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
870    * </pre>
871    *
872    * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
873    */
874   @java.lang.Override
875   public java.util.List<? extends com.google.cloud.compute.v1.DataOrBuilder>
getDataOrBuilderList()876       getDataOrBuilderList() {
877     return data_;
878   }
879   /**
880    *
881    *
882    * <pre>
883    * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
884    * </pre>
885    *
886    * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
887    */
888   @java.lang.Override
getDataCount()889   public int getDataCount() {
890     return data_.size();
891   }
892   /**
893    *
894    *
895    * <pre>
896    * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
897    * </pre>
898    *
899    * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
900    */
901   @java.lang.Override
getData(int index)902   public com.google.cloud.compute.v1.Data getData(int index) {
903     return data_.get(index);
904   }
905   /**
906    *
907    *
908    * <pre>
909    * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
910    * </pre>
911    *
912    * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
913    */
914   @java.lang.Override
getDataOrBuilder(int index)915   public com.google.cloud.compute.v1.DataOrBuilder getDataOrBuilder(int index) {
916     return data_.get(index);
917   }
918 
919   public static final int MESSAGE_FIELD_NUMBER = 418054151;
920 
921   @SuppressWarnings("serial")
922   private volatile java.lang.Object message_ = "";
923   /**
924    *
925    *
926    * <pre>
927    * [Output Only] A human-readable description of the warning code.
928    * </pre>
929    *
930    * <code>optional string message = 418054151;</code>
931    *
932    * @return Whether the message field is set.
933    */
934   @java.lang.Override
hasMessage()935   public boolean hasMessage() {
936     return ((bitField0_ & 0x00000002) != 0);
937   }
938   /**
939    *
940    *
941    * <pre>
942    * [Output Only] A human-readable description of the warning code.
943    * </pre>
944    *
945    * <code>optional string message = 418054151;</code>
946    *
947    * @return The message.
948    */
949   @java.lang.Override
getMessage()950   public java.lang.String getMessage() {
951     java.lang.Object ref = message_;
952     if (ref instanceof java.lang.String) {
953       return (java.lang.String) ref;
954     } else {
955       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
956       java.lang.String s = bs.toStringUtf8();
957       message_ = s;
958       return s;
959     }
960   }
961   /**
962    *
963    *
964    * <pre>
965    * [Output Only] A human-readable description of the warning code.
966    * </pre>
967    *
968    * <code>optional string message = 418054151;</code>
969    *
970    * @return The bytes for message.
971    */
972   @java.lang.Override
getMessageBytes()973   public com.google.protobuf.ByteString getMessageBytes() {
974     java.lang.Object ref = message_;
975     if (ref instanceof java.lang.String) {
976       com.google.protobuf.ByteString b =
977           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
978       message_ = b;
979       return b;
980     } else {
981       return (com.google.protobuf.ByteString) ref;
982     }
983   }
984 
985   private byte memoizedIsInitialized = -1;
986 
987   @java.lang.Override
isInitialized()988   public final boolean isInitialized() {
989     byte isInitialized = memoizedIsInitialized;
990     if (isInitialized == 1) return true;
991     if (isInitialized == 0) return false;
992 
993     memoizedIsInitialized = 1;
994     return true;
995   }
996 
997   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)998   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
999     if (((bitField0_ & 0x00000001) != 0)) {
1000       com.google.protobuf.GeneratedMessageV3.writeString(output, 3059181, code_);
1001     }
1002     for (int i = 0; i < data_.size(); i++) {
1003       output.writeMessage(3076010, data_.get(i));
1004     }
1005     if (((bitField0_ & 0x00000002) != 0)) {
1006       com.google.protobuf.GeneratedMessageV3.writeString(output, 418054151, message_);
1007     }
1008     getUnknownFields().writeTo(output);
1009   }
1010 
1011   @java.lang.Override
getSerializedSize()1012   public int getSerializedSize() {
1013     int size = memoizedSize;
1014     if (size != -1) return size;
1015 
1016     size = 0;
1017     if (((bitField0_ & 0x00000001) != 0)) {
1018       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3059181, code_);
1019     }
1020     for (int i = 0; i < data_.size(); i++) {
1021       size += com.google.protobuf.CodedOutputStream.computeMessageSize(3076010, data_.get(i));
1022     }
1023     if (((bitField0_ & 0x00000002) != 0)) {
1024       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(418054151, message_);
1025     }
1026     size += getUnknownFields().getSerializedSize();
1027     memoizedSize = size;
1028     return size;
1029   }
1030 
1031   @java.lang.Override
equals(final java.lang.Object obj)1032   public boolean equals(final java.lang.Object obj) {
1033     if (obj == this) {
1034       return true;
1035     }
1036     if (!(obj instanceof com.google.cloud.compute.v1.Warnings)) {
1037       return super.equals(obj);
1038     }
1039     com.google.cloud.compute.v1.Warnings other = (com.google.cloud.compute.v1.Warnings) obj;
1040 
1041     if (hasCode() != other.hasCode()) return false;
1042     if (hasCode()) {
1043       if (!getCode().equals(other.getCode())) return false;
1044     }
1045     if (!getDataList().equals(other.getDataList())) return false;
1046     if (hasMessage() != other.hasMessage()) return false;
1047     if (hasMessage()) {
1048       if (!getMessage().equals(other.getMessage())) return false;
1049     }
1050     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1051     return true;
1052   }
1053 
1054   @java.lang.Override
hashCode()1055   public int hashCode() {
1056     if (memoizedHashCode != 0) {
1057       return memoizedHashCode;
1058     }
1059     int hash = 41;
1060     hash = (19 * hash) + getDescriptor().hashCode();
1061     if (hasCode()) {
1062       hash = (37 * hash) + CODE_FIELD_NUMBER;
1063       hash = (53 * hash) + getCode().hashCode();
1064     }
1065     if (getDataCount() > 0) {
1066       hash = (37 * hash) + DATA_FIELD_NUMBER;
1067       hash = (53 * hash) + getDataList().hashCode();
1068     }
1069     if (hasMessage()) {
1070       hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
1071       hash = (53 * hash) + getMessage().hashCode();
1072     }
1073     hash = (29 * hash) + getUnknownFields().hashCode();
1074     memoizedHashCode = hash;
1075     return hash;
1076   }
1077 
parseFrom(java.nio.ByteBuffer data)1078   public static com.google.cloud.compute.v1.Warnings parseFrom(java.nio.ByteBuffer data)
1079       throws com.google.protobuf.InvalidProtocolBufferException {
1080     return PARSER.parseFrom(data);
1081   }
1082 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1083   public static com.google.cloud.compute.v1.Warnings parseFrom(
1084       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1085       throws com.google.protobuf.InvalidProtocolBufferException {
1086     return PARSER.parseFrom(data, extensionRegistry);
1087   }
1088 
parseFrom(com.google.protobuf.ByteString data)1089   public static com.google.cloud.compute.v1.Warnings parseFrom(com.google.protobuf.ByteString data)
1090       throws com.google.protobuf.InvalidProtocolBufferException {
1091     return PARSER.parseFrom(data);
1092   }
1093 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1094   public static com.google.cloud.compute.v1.Warnings parseFrom(
1095       com.google.protobuf.ByteString data,
1096       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1097       throws com.google.protobuf.InvalidProtocolBufferException {
1098     return PARSER.parseFrom(data, extensionRegistry);
1099   }
1100 
parseFrom(byte[] data)1101   public static com.google.cloud.compute.v1.Warnings parseFrom(byte[] data)
1102       throws com.google.protobuf.InvalidProtocolBufferException {
1103     return PARSER.parseFrom(data);
1104   }
1105 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1106   public static com.google.cloud.compute.v1.Warnings parseFrom(
1107       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1108       throws com.google.protobuf.InvalidProtocolBufferException {
1109     return PARSER.parseFrom(data, extensionRegistry);
1110   }
1111 
parseFrom(java.io.InputStream input)1112   public static com.google.cloud.compute.v1.Warnings parseFrom(java.io.InputStream input)
1113       throws java.io.IOException {
1114     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
1115   }
1116 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1117   public static com.google.cloud.compute.v1.Warnings parseFrom(
1118       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1119       throws java.io.IOException {
1120     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
1121         PARSER, input, extensionRegistry);
1122   }
1123 
parseDelimitedFrom(java.io.InputStream input)1124   public static com.google.cloud.compute.v1.Warnings parseDelimitedFrom(java.io.InputStream input)
1125       throws java.io.IOException {
1126     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
1127   }
1128 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1129   public static com.google.cloud.compute.v1.Warnings parseDelimitedFrom(
1130       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1131       throws java.io.IOException {
1132     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
1133         PARSER, input, extensionRegistry);
1134   }
1135 
parseFrom( com.google.protobuf.CodedInputStream input)1136   public static com.google.cloud.compute.v1.Warnings parseFrom(
1137       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
1138     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
1139   }
1140 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1141   public static com.google.cloud.compute.v1.Warnings parseFrom(
1142       com.google.protobuf.CodedInputStream input,
1143       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1144       throws java.io.IOException {
1145     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
1146         PARSER, input, extensionRegistry);
1147   }
1148 
1149   @java.lang.Override
newBuilderForType()1150   public Builder newBuilderForType() {
1151     return newBuilder();
1152   }
1153 
newBuilder()1154   public static Builder newBuilder() {
1155     return DEFAULT_INSTANCE.toBuilder();
1156   }
1157 
newBuilder(com.google.cloud.compute.v1.Warnings prototype)1158   public static Builder newBuilder(com.google.cloud.compute.v1.Warnings prototype) {
1159     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1160   }
1161 
1162   @java.lang.Override
toBuilder()1163   public Builder toBuilder() {
1164     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
1165   }
1166 
1167   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1168   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1169     Builder builder = new Builder(parent);
1170     return builder;
1171   }
1172   /**
1173    *
1174    *
1175    * <pre>
1176    * </pre>
1177    *
1178    * Protobuf type {@code google.cloud.compute.v1.Warnings}
1179    */
1180   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
1181       implements
1182       // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.Warnings)
1183       com.google.cloud.compute.v1.WarningsOrBuilder {
getDescriptor()1184     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
1185       return com.google.cloud.compute.v1.Compute
1186           .internal_static_google_cloud_compute_v1_Warnings_descriptor;
1187     }
1188 
1189     @java.lang.Override
1190     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()1191         internalGetFieldAccessorTable() {
1192       return com.google.cloud.compute.v1.Compute
1193           .internal_static_google_cloud_compute_v1_Warnings_fieldAccessorTable
1194           .ensureFieldAccessorsInitialized(
1195               com.google.cloud.compute.v1.Warnings.class,
1196               com.google.cloud.compute.v1.Warnings.Builder.class);
1197     }
1198 
1199     // Construct using com.google.cloud.compute.v1.Warnings.newBuilder()
Builder()1200     private Builder() {}
1201 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1202     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1203       super(parent);
1204     }
1205 
1206     @java.lang.Override
clear()1207     public Builder clear() {
1208       super.clear();
1209       bitField0_ = 0;
1210       code_ = "";
1211       if (dataBuilder_ == null) {
1212         data_ = java.util.Collections.emptyList();
1213       } else {
1214         data_ = null;
1215         dataBuilder_.clear();
1216       }
1217       bitField0_ = (bitField0_ & ~0x00000002);
1218       message_ = "";
1219       return this;
1220     }
1221 
1222     @java.lang.Override
getDescriptorForType()1223     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
1224       return com.google.cloud.compute.v1.Compute
1225           .internal_static_google_cloud_compute_v1_Warnings_descriptor;
1226     }
1227 
1228     @java.lang.Override
getDefaultInstanceForType()1229     public com.google.cloud.compute.v1.Warnings getDefaultInstanceForType() {
1230       return com.google.cloud.compute.v1.Warnings.getDefaultInstance();
1231     }
1232 
1233     @java.lang.Override
build()1234     public com.google.cloud.compute.v1.Warnings build() {
1235       com.google.cloud.compute.v1.Warnings result = buildPartial();
1236       if (!result.isInitialized()) {
1237         throw newUninitializedMessageException(result);
1238       }
1239       return result;
1240     }
1241 
1242     @java.lang.Override
buildPartial()1243     public com.google.cloud.compute.v1.Warnings buildPartial() {
1244       com.google.cloud.compute.v1.Warnings result = new com.google.cloud.compute.v1.Warnings(this);
1245       buildPartialRepeatedFields(result);
1246       if (bitField0_ != 0) {
1247         buildPartial0(result);
1248       }
1249       onBuilt();
1250       return result;
1251     }
1252 
buildPartialRepeatedFields(com.google.cloud.compute.v1.Warnings result)1253     private void buildPartialRepeatedFields(com.google.cloud.compute.v1.Warnings result) {
1254       if (dataBuilder_ == null) {
1255         if (((bitField0_ & 0x00000002) != 0)) {
1256           data_ = java.util.Collections.unmodifiableList(data_);
1257           bitField0_ = (bitField0_ & ~0x00000002);
1258         }
1259         result.data_ = data_;
1260       } else {
1261         result.data_ = dataBuilder_.build();
1262       }
1263     }
1264 
buildPartial0(com.google.cloud.compute.v1.Warnings result)1265     private void buildPartial0(com.google.cloud.compute.v1.Warnings result) {
1266       int from_bitField0_ = bitField0_;
1267       int to_bitField0_ = 0;
1268       if (((from_bitField0_ & 0x00000001) != 0)) {
1269         result.code_ = code_;
1270         to_bitField0_ |= 0x00000001;
1271       }
1272       if (((from_bitField0_ & 0x00000004) != 0)) {
1273         result.message_ = message_;
1274         to_bitField0_ |= 0x00000002;
1275       }
1276       result.bitField0_ |= to_bitField0_;
1277     }
1278 
1279     @java.lang.Override
clone()1280     public Builder clone() {
1281       return super.clone();
1282     }
1283 
1284     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1285     public Builder setField(
1286         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
1287       return super.setField(field, value);
1288     }
1289 
1290     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)1291     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
1292       return super.clearField(field);
1293     }
1294 
1295     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)1296     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1297       return super.clearOneof(oneof);
1298     }
1299 
1300     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1301     public Builder setRepeatedField(
1302         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
1303       return super.setRepeatedField(field, index, value);
1304     }
1305 
1306     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1307     public Builder addRepeatedField(
1308         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
1309       return super.addRepeatedField(field, value);
1310     }
1311 
1312     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)1313     public Builder mergeFrom(com.google.protobuf.Message other) {
1314       if (other instanceof com.google.cloud.compute.v1.Warnings) {
1315         return mergeFrom((com.google.cloud.compute.v1.Warnings) other);
1316       } else {
1317         super.mergeFrom(other);
1318         return this;
1319       }
1320     }
1321 
mergeFrom(com.google.cloud.compute.v1.Warnings other)1322     public Builder mergeFrom(com.google.cloud.compute.v1.Warnings other) {
1323       if (other == com.google.cloud.compute.v1.Warnings.getDefaultInstance()) return this;
1324       if (other.hasCode()) {
1325         code_ = other.code_;
1326         bitField0_ |= 0x00000001;
1327         onChanged();
1328       }
1329       if (dataBuilder_ == null) {
1330         if (!other.data_.isEmpty()) {
1331           if (data_.isEmpty()) {
1332             data_ = other.data_;
1333             bitField0_ = (bitField0_ & ~0x00000002);
1334           } else {
1335             ensureDataIsMutable();
1336             data_.addAll(other.data_);
1337           }
1338           onChanged();
1339         }
1340       } else {
1341         if (!other.data_.isEmpty()) {
1342           if (dataBuilder_.isEmpty()) {
1343             dataBuilder_.dispose();
1344             dataBuilder_ = null;
1345             data_ = other.data_;
1346             bitField0_ = (bitField0_ & ~0x00000002);
1347             dataBuilder_ =
1348                 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
1349                     ? getDataFieldBuilder()
1350                     : null;
1351           } else {
1352             dataBuilder_.addAllMessages(other.data_);
1353           }
1354         }
1355       }
1356       if (other.hasMessage()) {
1357         message_ = other.message_;
1358         bitField0_ |= 0x00000004;
1359         onChanged();
1360       }
1361       this.mergeUnknownFields(other.getUnknownFields());
1362       onChanged();
1363       return this;
1364     }
1365 
1366     @java.lang.Override
isInitialized()1367     public final boolean isInitialized() {
1368       return true;
1369     }
1370 
1371     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1372     public Builder mergeFrom(
1373         com.google.protobuf.CodedInputStream input,
1374         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1375         throws java.io.IOException {
1376       if (extensionRegistry == null) {
1377         throw new java.lang.NullPointerException();
1378       }
1379       try {
1380         boolean done = false;
1381         while (!done) {
1382           int tag = input.readTag();
1383           switch (tag) {
1384             case 0:
1385               done = true;
1386               break;
1387             case 24473450:
1388               {
1389                 code_ = input.readStringRequireUtf8();
1390                 bitField0_ |= 0x00000001;
1391                 break;
1392               } // case 24473450
1393             case 24608082:
1394               {
1395                 com.google.cloud.compute.v1.Data m =
1396                     input.readMessage(com.google.cloud.compute.v1.Data.parser(), extensionRegistry);
1397                 if (dataBuilder_ == null) {
1398                   ensureDataIsMutable();
1399                   data_.add(m);
1400                 } else {
1401                   dataBuilder_.addMessage(m);
1402                 }
1403                 break;
1404               } // case 24608082
1405             case -950534086:
1406               {
1407                 message_ = input.readStringRequireUtf8();
1408                 bitField0_ |= 0x00000004;
1409                 break;
1410               } // case -950534086
1411             default:
1412               {
1413                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1414                   done = true; // was an endgroup tag
1415                 }
1416                 break;
1417               } // default:
1418           } // switch (tag)
1419         } // while (!done)
1420       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1421         throw e.unwrapIOException();
1422       } finally {
1423         onChanged();
1424       } // finally
1425       return this;
1426     }
1427 
1428     private int bitField0_;
1429 
1430     private java.lang.Object code_ = "";
1431     /**
1432      *
1433      *
1434      * <pre>
1435      * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
1436      * Check the Code enum for the list of possible values.
1437      * </pre>
1438      *
1439      * <code>optional string code = 3059181;</code>
1440      *
1441      * @return Whether the code field is set.
1442      */
hasCode()1443     public boolean hasCode() {
1444       return ((bitField0_ & 0x00000001) != 0);
1445     }
1446     /**
1447      *
1448      *
1449      * <pre>
1450      * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
1451      * Check the Code enum for the list of possible values.
1452      * </pre>
1453      *
1454      * <code>optional string code = 3059181;</code>
1455      *
1456      * @return The code.
1457      */
getCode()1458     public java.lang.String getCode() {
1459       java.lang.Object ref = code_;
1460       if (!(ref instanceof java.lang.String)) {
1461         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1462         java.lang.String s = bs.toStringUtf8();
1463         code_ = s;
1464         return s;
1465       } else {
1466         return (java.lang.String) ref;
1467       }
1468     }
1469     /**
1470      *
1471      *
1472      * <pre>
1473      * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
1474      * Check the Code enum for the list of possible values.
1475      * </pre>
1476      *
1477      * <code>optional string code = 3059181;</code>
1478      *
1479      * @return The bytes for code.
1480      */
getCodeBytes()1481     public com.google.protobuf.ByteString getCodeBytes() {
1482       java.lang.Object ref = code_;
1483       if (ref instanceof String) {
1484         com.google.protobuf.ByteString b =
1485             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1486         code_ = b;
1487         return b;
1488       } else {
1489         return (com.google.protobuf.ByteString) ref;
1490       }
1491     }
1492     /**
1493      *
1494      *
1495      * <pre>
1496      * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
1497      * Check the Code enum for the list of possible values.
1498      * </pre>
1499      *
1500      * <code>optional string code = 3059181;</code>
1501      *
1502      * @param value The code to set.
1503      * @return This builder for chaining.
1504      */
setCode(java.lang.String value)1505     public Builder setCode(java.lang.String value) {
1506       if (value == null) {
1507         throw new NullPointerException();
1508       }
1509       code_ = value;
1510       bitField0_ |= 0x00000001;
1511       onChanged();
1512       return this;
1513     }
1514     /**
1515      *
1516      *
1517      * <pre>
1518      * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
1519      * Check the Code enum for the list of possible values.
1520      * </pre>
1521      *
1522      * <code>optional string code = 3059181;</code>
1523      *
1524      * @return This builder for chaining.
1525      */
clearCode()1526     public Builder clearCode() {
1527       code_ = getDefaultInstance().getCode();
1528       bitField0_ = (bitField0_ & ~0x00000001);
1529       onChanged();
1530       return this;
1531     }
1532     /**
1533      *
1534      *
1535      * <pre>
1536      * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
1537      * Check the Code enum for the list of possible values.
1538      * </pre>
1539      *
1540      * <code>optional string code = 3059181;</code>
1541      *
1542      * @param value The bytes for code to set.
1543      * @return This builder for chaining.
1544      */
setCodeBytes(com.google.protobuf.ByteString value)1545     public Builder setCodeBytes(com.google.protobuf.ByteString value) {
1546       if (value == null) {
1547         throw new NullPointerException();
1548       }
1549       checkByteStringIsUtf8(value);
1550       code_ = value;
1551       bitField0_ |= 0x00000001;
1552       onChanged();
1553       return this;
1554     }
1555 
1556     private java.util.List<com.google.cloud.compute.v1.Data> data_ =
1557         java.util.Collections.emptyList();
1558 
ensureDataIsMutable()1559     private void ensureDataIsMutable() {
1560       if (!((bitField0_ & 0x00000002) != 0)) {
1561         data_ = new java.util.ArrayList<com.google.cloud.compute.v1.Data>(data_);
1562         bitField0_ |= 0x00000002;
1563       }
1564     }
1565 
1566     private com.google.protobuf.RepeatedFieldBuilderV3<
1567             com.google.cloud.compute.v1.Data,
1568             com.google.cloud.compute.v1.Data.Builder,
1569             com.google.cloud.compute.v1.DataOrBuilder>
1570         dataBuilder_;
1571 
1572     /**
1573      *
1574      *
1575      * <pre>
1576      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1577      * </pre>
1578      *
1579      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1580      */
getDataList()1581     public java.util.List<com.google.cloud.compute.v1.Data> getDataList() {
1582       if (dataBuilder_ == null) {
1583         return java.util.Collections.unmodifiableList(data_);
1584       } else {
1585         return dataBuilder_.getMessageList();
1586       }
1587     }
1588     /**
1589      *
1590      *
1591      * <pre>
1592      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1593      * </pre>
1594      *
1595      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1596      */
getDataCount()1597     public int getDataCount() {
1598       if (dataBuilder_ == null) {
1599         return data_.size();
1600       } else {
1601         return dataBuilder_.getCount();
1602       }
1603     }
1604     /**
1605      *
1606      *
1607      * <pre>
1608      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1609      * </pre>
1610      *
1611      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1612      */
getData(int index)1613     public com.google.cloud.compute.v1.Data getData(int index) {
1614       if (dataBuilder_ == null) {
1615         return data_.get(index);
1616       } else {
1617         return dataBuilder_.getMessage(index);
1618       }
1619     }
1620     /**
1621      *
1622      *
1623      * <pre>
1624      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1625      * </pre>
1626      *
1627      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1628      */
setData(int index, com.google.cloud.compute.v1.Data value)1629     public Builder setData(int index, com.google.cloud.compute.v1.Data value) {
1630       if (dataBuilder_ == null) {
1631         if (value == null) {
1632           throw new NullPointerException();
1633         }
1634         ensureDataIsMutable();
1635         data_.set(index, value);
1636         onChanged();
1637       } else {
1638         dataBuilder_.setMessage(index, value);
1639       }
1640       return this;
1641     }
1642     /**
1643      *
1644      *
1645      * <pre>
1646      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1647      * </pre>
1648      *
1649      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1650      */
setData(int index, com.google.cloud.compute.v1.Data.Builder builderForValue)1651     public Builder setData(int index, com.google.cloud.compute.v1.Data.Builder builderForValue) {
1652       if (dataBuilder_ == null) {
1653         ensureDataIsMutable();
1654         data_.set(index, builderForValue.build());
1655         onChanged();
1656       } else {
1657         dataBuilder_.setMessage(index, builderForValue.build());
1658       }
1659       return this;
1660     }
1661     /**
1662      *
1663      *
1664      * <pre>
1665      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1666      * </pre>
1667      *
1668      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1669      */
addData(com.google.cloud.compute.v1.Data value)1670     public Builder addData(com.google.cloud.compute.v1.Data value) {
1671       if (dataBuilder_ == null) {
1672         if (value == null) {
1673           throw new NullPointerException();
1674         }
1675         ensureDataIsMutable();
1676         data_.add(value);
1677         onChanged();
1678       } else {
1679         dataBuilder_.addMessage(value);
1680       }
1681       return this;
1682     }
1683     /**
1684      *
1685      *
1686      * <pre>
1687      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1688      * </pre>
1689      *
1690      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1691      */
addData(int index, com.google.cloud.compute.v1.Data value)1692     public Builder addData(int index, com.google.cloud.compute.v1.Data value) {
1693       if (dataBuilder_ == null) {
1694         if (value == null) {
1695           throw new NullPointerException();
1696         }
1697         ensureDataIsMutable();
1698         data_.add(index, value);
1699         onChanged();
1700       } else {
1701         dataBuilder_.addMessage(index, value);
1702       }
1703       return this;
1704     }
1705     /**
1706      *
1707      *
1708      * <pre>
1709      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1710      * </pre>
1711      *
1712      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1713      */
addData(com.google.cloud.compute.v1.Data.Builder builderForValue)1714     public Builder addData(com.google.cloud.compute.v1.Data.Builder builderForValue) {
1715       if (dataBuilder_ == null) {
1716         ensureDataIsMutable();
1717         data_.add(builderForValue.build());
1718         onChanged();
1719       } else {
1720         dataBuilder_.addMessage(builderForValue.build());
1721       }
1722       return this;
1723     }
1724     /**
1725      *
1726      *
1727      * <pre>
1728      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1729      * </pre>
1730      *
1731      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1732      */
addData(int index, com.google.cloud.compute.v1.Data.Builder builderForValue)1733     public Builder addData(int index, com.google.cloud.compute.v1.Data.Builder builderForValue) {
1734       if (dataBuilder_ == null) {
1735         ensureDataIsMutable();
1736         data_.add(index, builderForValue.build());
1737         onChanged();
1738       } else {
1739         dataBuilder_.addMessage(index, builderForValue.build());
1740       }
1741       return this;
1742     }
1743     /**
1744      *
1745      *
1746      * <pre>
1747      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1748      * </pre>
1749      *
1750      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1751      */
addAllData( java.lang.Iterable<? extends com.google.cloud.compute.v1.Data> values)1752     public Builder addAllData(
1753         java.lang.Iterable<? extends com.google.cloud.compute.v1.Data> values) {
1754       if (dataBuilder_ == null) {
1755         ensureDataIsMutable();
1756         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, data_);
1757         onChanged();
1758       } else {
1759         dataBuilder_.addAllMessages(values);
1760       }
1761       return this;
1762     }
1763     /**
1764      *
1765      *
1766      * <pre>
1767      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1768      * </pre>
1769      *
1770      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1771      */
clearData()1772     public Builder clearData() {
1773       if (dataBuilder_ == null) {
1774         data_ = java.util.Collections.emptyList();
1775         bitField0_ = (bitField0_ & ~0x00000002);
1776         onChanged();
1777       } else {
1778         dataBuilder_.clear();
1779       }
1780       return this;
1781     }
1782     /**
1783      *
1784      *
1785      * <pre>
1786      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1787      * </pre>
1788      *
1789      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1790      */
removeData(int index)1791     public Builder removeData(int index) {
1792       if (dataBuilder_ == null) {
1793         ensureDataIsMutable();
1794         data_.remove(index);
1795         onChanged();
1796       } else {
1797         dataBuilder_.remove(index);
1798       }
1799       return this;
1800     }
1801     /**
1802      *
1803      *
1804      * <pre>
1805      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1806      * </pre>
1807      *
1808      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1809      */
getDataBuilder(int index)1810     public com.google.cloud.compute.v1.Data.Builder getDataBuilder(int index) {
1811       return getDataFieldBuilder().getBuilder(index);
1812     }
1813     /**
1814      *
1815      *
1816      * <pre>
1817      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1818      * </pre>
1819      *
1820      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1821      */
getDataOrBuilder(int index)1822     public com.google.cloud.compute.v1.DataOrBuilder getDataOrBuilder(int index) {
1823       if (dataBuilder_ == null) {
1824         return data_.get(index);
1825       } else {
1826         return dataBuilder_.getMessageOrBuilder(index);
1827       }
1828     }
1829     /**
1830      *
1831      *
1832      * <pre>
1833      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1834      * </pre>
1835      *
1836      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1837      */
1838     public java.util.List<? extends com.google.cloud.compute.v1.DataOrBuilder>
getDataOrBuilderList()1839         getDataOrBuilderList() {
1840       if (dataBuilder_ != null) {
1841         return dataBuilder_.getMessageOrBuilderList();
1842       } else {
1843         return java.util.Collections.unmodifiableList(data_);
1844       }
1845     }
1846     /**
1847      *
1848      *
1849      * <pre>
1850      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1851      * </pre>
1852      *
1853      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1854      */
addDataBuilder()1855     public com.google.cloud.compute.v1.Data.Builder addDataBuilder() {
1856       return getDataFieldBuilder()
1857           .addBuilder(com.google.cloud.compute.v1.Data.getDefaultInstance());
1858     }
1859     /**
1860      *
1861      *
1862      * <pre>
1863      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1864      * </pre>
1865      *
1866      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1867      */
addDataBuilder(int index)1868     public com.google.cloud.compute.v1.Data.Builder addDataBuilder(int index) {
1869       return getDataFieldBuilder()
1870           .addBuilder(index, com.google.cloud.compute.v1.Data.getDefaultInstance());
1871     }
1872     /**
1873      *
1874      *
1875      * <pre>
1876      * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1877      * </pre>
1878      *
1879      * <code>repeated .google.cloud.compute.v1.Data data = 3076010;</code>
1880      */
getDataBuilderList()1881     public java.util.List<com.google.cloud.compute.v1.Data.Builder> getDataBuilderList() {
1882       return getDataFieldBuilder().getBuilderList();
1883     }
1884 
1885     private com.google.protobuf.RepeatedFieldBuilderV3<
1886             com.google.cloud.compute.v1.Data,
1887             com.google.cloud.compute.v1.Data.Builder,
1888             com.google.cloud.compute.v1.DataOrBuilder>
getDataFieldBuilder()1889         getDataFieldBuilder() {
1890       if (dataBuilder_ == null) {
1891         dataBuilder_ =
1892             new com.google.protobuf.RepeatedFieldBuilderV3<
1893                 com.google.cloud.compute.v1.Data,
1894                 com.google.cloud.compute.v1.Data.Builder,
1895                 com.google.cloud.compute.v1.DataOrBuilder>(
1896                 data_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
1897         data_ = null;
1898       }
1899       return dataBuilder_;
1900     }
1901 
1902     private java.lang.Object message_ = "";
1903     /**
1904      *
1905      *
1906      * <pre>
1907      * [Output Only] A human-readable description of the warning code.
1908      * </pre>
1909      *
1910      * <code>optional string message = 418054151;</code>
1911      *
1912      * @return Whether the message field is set.
1913      */
hasMessage()1914     public boolean hasMessage() {
1915       return ((bitField0_ & 0x00000004) != 0);
1916     }
1917     /**
1918      *
1919      *
1920      * <pre>
1921      * [Output Only] A human-readable description of the warning code.
1922      * </pre>
1923      *
1924      * <code>optional string message = 418054151;</code>
1925      *
1926      * @return The message.
1927      */
getMessage()1928     public java.lang.String getMessage() {
1929       java.lang.Object ref = message_;
1930       if (!(ref instanceof java.lang.String)) {
1931         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1932         java.lang.String s = bs.toStringUtf8();
1933         message_ = s;
1934         return s;
1935       } else {
1936         return (java.lang.String) ref;
1937       }
1938     }
1939     /**
1940      *
1941      *
1942      * <pre>
1943      * [Output Only] A human-readable description of the warning code.
1944      * </pre>
1945      *
1946      * <code>optional string message = 418054151;</code>
1947      *
1948      * @return The bytes for message.
1949      */
getMessageBytes()1950     public com.google.protobuf.ByteString getMessageBytes() {
1951       java.lang.Object ref = message_;
1952       if (ref instanceof String) {
1953         com.google.protobuf.ByteString b =
1954             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1955         message_ = b;
1956         return b;
1957       } else {
1958         return (com.google.protobuf.ByteString) ref;
1959       }
1960     }
1961     /**
1962      *
1963      *
1964      * <pre>
1965      * [Output Only] A human-readable description of the warning code.
1966      * </pre>
1967      *
1968      * <code>optional string message = 418054151;</code>
1969      *
1970      * @param value The message to set.
1971      * @return This builder for chaining.
1972      */
setMessage(java.lang.String value)1973     public Builder setMessage(java.lang.String value) {
1974       if (value == null) {
1975         throw new NullPointerException();
1976       }
1977       message_ = value;
1978       bitField0_ |= 0x00000004;
1979       onChanged();
1980       return this;
1981     }
1982     /**
1983      *
1984      *
1985      * <pre>
1986      * [Output Only] A human-readable description of the warning code.
1987      * </pre>
1988      *
1989      * <code>optional string message = 418054151;</code>
1990      *
1991      * @return This builder for chaining.
1992      */
clearMessage()1993     public Builder clearMessage() {
1994       message_ = getDefaultInstance().getMessage();
1995       bitField0_ = (bitField0_ & ~0x00000004);
1996       onChanged();
1997       return this;
1998     }
1999     /**
2000      *
2001      *
2002      * <pre>
2003      * [Output Only] A human-readable description of the warning code.
2004      * </pre>
2005      *
2006      * <code>optional string message = 418054151;</code>
2007      *
2008      * @param value The bytes for message to set.
2009      * @return This builder for chaining.
2010      */
setMessageBytes(com.google.protobuf.ByteString value)2011     public Builder setMessageBytes(com.google.protobuf.ByteString value) {
2012       if (value == null) {
2013         throw new NullPointerException();
2014       }
2015       checkByteStringIsUtf8(value);
2016       message_ = value;
2017       bitField0_ |= 0x00000004;
2018       onChanged();
2019       return this;
2020     }
2021 
2022     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)2023     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
2024       return super.setUnknownFields(unknownFields);
2025     }
2026 
2027     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2028     public final Builder mergeUnknownFields(
2029         final com.google.protobuf.UnknownFieldSet unknownFields) {
2030       return super.mergeUnknownFields(unknownFields);
2031     }
2032 
2033     // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.Warnings)
2034   }
2035 
2036   // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.Warnings)
2037   private static final com.google.cloud.compute.v1.Warnings DEFAULT_INSTANCE;
2038 
2039   static {
2040     DEFAULT_INSTANCE = new com.google.cloud.compute.v1.Warnings();
2041   }
2042 
getDefaultInstance()2043   public static com.google.cloud.compute.v1.Warnings getDefaultInstance() {
2044     return DEFAULT_INSTANCE;
2045   }
2046 
2047   private static final com.google.protobuf.Parser<Warnings> PARSER =
2048       new com.google.protobuf.AbstractParser<Warnings>() {
2049         @java.lang.Override
2050         public Warnings parsePartialFrom(
2051             com.google.protobuf.CodedInputStream input,
2052             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2053             throws com.google.protobuf.InvalidProtocolBufferException {
2054           Builder builder = newBuilder();
2055           try {
2056             builder.mergeFrom(input, extensionRegistry);
2057           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2058             throw e.setUnfinishedMessage(builder.buildPartial());
2059           } catch (com.google.protobuf.UninitializedMessageException e) {
2060             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2061           } catch (java.io.IOException e) {
2062             throw new com.google.protobuf.InvalidProtocolBufferException(e)
2063                 .setUnfinishedMessage(builder.buildPartial());
2064           }
2065           return builder.buildPartial();
2066         }
2067       };
2068 
parser()2069   public static com.google.protobuf.Parser<Warnings> parser() {
2070     return PARSER;
2071   }
2072 
2073   @java.lang.Override
getParserForType()2074   public com.google.protobuf.Parser<Warnings> getParserForType() {
2075     return PARSER;
2076   }
2077 
2078   @java.lang.Override
getDefaultInstanceForType()2079   public com.google.cloud.compute.v1.Warnings getDefaultInstanceForType() {
2080     return DEFAULT_INSTANCE;
2081   }
2082 }
2083