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