• 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  * This is deprecated and has no effect. Do not use.
26  * </pre>
27  *
28  * Protobuf type {@code google.cloud.compute.v1.Rule}
29  */
30 public final class Rule extends com.google.protobuf.GeneratedMessageV3
31     implements
32     // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.Rule)
33     RuleOrBuilder {
34   private static final long serialVersionUID = 0L;
35   // Use Rule.newBuilder() to construct.
Rule(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36   private Rule(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
37     super(builder);
38   }
39 
Rule()40   private Rule() {
41     action_ = "";
42     conditions_ = java.util.Collections.emptyList();
43     description_ = "";
44     ins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
45     logConfigs_ = java.util.Collections.emptyList();
46     notIns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
47     permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
48   }
49 
50   @java.lang.Override
51   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)52   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
53     return new Rule();
54   }
55 
56   @java.lang.Override
getUnknownFields()57   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
58     return this.unknownFields;
59   }
60 
getDescriptor()61   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
62     return com.google.cloud.compute.v1.Compute
63         .internal_static_google_cloud_compute_v1_Rule_descriptor;
64   }
65 
66   @java.lang.Override
67   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()68       internalGetFieldAccessorTable() {
69     return com.google.cloud.compute.v1.Compute
70         .internal_static_google_cloud_compute_v1_Rule_fieldAccessorTable
71         .ensureFieldAccessorsInitialized(
72             com.google.cloud.compute.v1.Rule.class, com.google.cloud.compute.v1.Rule.Builder.class);
73   }
74 
75   /**
76    *
77    *
78    * <pre>
79    * This is deprecated and has no effect. Do not use.
80    * </pre>
81    *
82    * Protobuf enum {@code google.cloud.compute.v1.Rule.Action}
83    */
84   public enum Action implements com.google.protobuf.ProtocolMessageEnum {
85     /**
86      *
87      *
88      * <pre>
89      * A value indicating that the enum field is not set.
90      * </pre>
91      *
92      * <code>UNDEFINED_ACTION = 0;</code>
93      */
94     UNDEFINED_ACTION(0),
95     /**
96      *
97      *
98      * <pre>
99      * This is deprecated and has no effect. Do not use.
100      * </pre>
101      *
102      * <code>ALLOW = 62368553;</code>
103      */
104     ALLOW(62368553),
105     /**
106      *
107      *
108      * <pre>
109      * This is deprecated and has no effect. Do not use.
110      * </pre>
111      *
112      * <code>ALLOW_WITH_LOG = 76034177;</code>
113      */
114     ALLOW_WITH_LOG(76034177),
115     /**
116      *
117      *
118      * <pre>
119      * This is deprecated and has no effect. Do not use.
120      * </pre>
121      *
122      * <code>DENY = 2094604;</code>
123      */
124     DENY(2094604),
125     /**
126      *
127      *
128      * <pre>
129      * This is deprecated and has no effect. Do not use.
130      * </pre>
131      *
132      * <code>DENY_WITH_LOG = 351433982;</code>
133      */
134     DENY_WITH_LOG(351433982),
135     /**
136      *
137      *
138      * <pre>
139      * This is deprecated and has no effect. Do not use.
140      * </pre>
141      *
142      * <code>LOG = 75556;</code>
143      */
144     LOG(75556),
145     /**
146      *
147      *
148      * <pre>
149      * This is deprecated and has no effect. Do not use.
150      * </pre>
151      *
152      * <code>NO_ACTION = 260643444;</code>
153      */
154     NO_ACTION(260643444),
155     UNRECOGNIZED(-1),
156     ;
157 
158     /**
159      *
160      *
161      * <pre>
162      * A value indicating that the enum field is not set.
163      * </pre>
164      *
165      * <code>UNDEFINED_ACTION = 0;</code>
166      */
167     public static final int UNDEFINED_ACTION_VALUE = 0;
168     /**
169      *
170      *
171      * <pre>
172      * This is deprecated and has no effect. Do not use.
173      * </pre>
174      *
175      * <code>ALLOW = 62368553;</code>
176      */
177     public static final int ALLOW_VALUE = 62368553;
178     /**
179      *
180      *
181      * <pre>
182      * This is deprecated and has no effect. Do not use.
183      * </pre>
184      *
185      * <code>ALLOW_WITH_LOG = 76034177;</code>
186      */
187     public static final int ALLOW_WITH_LOG_VALUE = 76034177;
188     /**
189      *
190      *
191      * <pre>
192      * This is deprecated and has no effect. Do not use.
193      * </pre>
194      *
195      * <code>DENY = 2094604;</code>
196      */
197     public static final int DENY_VALUE = 2094604;
198     /**
199      *
200      *
201      * <pre>
202      * This is deprecated and has no effect. Do not use.
203      * </pre>
204      *
205      * <code>DENY_WITH_LOG = 351433982;</code>
206      */
207     public static final int DENY_WITH_LOG_VALUE = 351433982;
208     /**
209      *
210      *
211      * <pre>
212      * This is deprecated and has no effect. Do not use.
213      * </pre>
214      *
215      * <code>LOG = 75556;</code>
216      */
217     public static final int LOG_VALUE = 75556;
218     /**
219      *
220      *
221      * <pre>
222      * This is deprecated and has no effect. Do not use.
223      * </pre>
224      *
225      * <code>NO_ACTION = 260643444;</code>
226      */
227     public static final int NO_ACTION_VALUE = 260643444;
228 
getNumber()229     public final int getNumber() {
230       if (this == UNRECOGNIZED) {
231         throw new java.lang.IllegalArgumentException(
232             "Can't get the number of an unknown enum value.");
233       }
234       return value;
235     }
236 
237     /**
238      * @param value The numeric wire value of the corresponding enum entry.
239      * @return The enum associated with the given numeric wire value.
240      * @deprecated Use {@link #forNumber(int)} instead.
241      */
242     @java.lang.Deprecated
valueOf(int value)243     public static Action valueOf(int value) {
244       return forNumber(value);
245     }
246 
247     /**
248      * @param value The numeric wire value of the corresponding enum entry.
249      * @return The enum associated with the given numeric wire value.
250      */
forNumber(int value)251     public static Action forNumber(int value) {
252       switch (value) {
253         case 0:
254           return UNDEFINED_ACTION;
255         case 62368553:
256           return ALLOW;
257         case 76034177:
258           return ALLOW_WITH_LOG;
259         case 2094604:
260           return DENY;
261         case 351433982:
262           return DENY_WITH_LOG;
263         case 75556:
264           return LOG;
265         case 260643444:
266           return NO_ACTION;
267         default:
268           return null;
269       }
270     }
271 
internalGetValueMap()272     public static com.google.protobuf.Internal.EnumLiteMap<Action> internalGetValueMap() {
273       return internalValueMap;
274     }
275 
276     private static final com.google.protobuf.Internal.EnumLiteMap<Action> internalValueMap =
277         new com.google.protobuf.Internal.EnumLiteMap<Action>() {
278           public Action findValueByNumber(int number) {
279             return Action.forNumber(number);
280           }
281         };
282 
getValueDescriptor()283     public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
284       if (this == UNRECOGNIZED) {
285         throw new java.lang.IllegalStateException(
286             "Can't get the descriptor of an unrecognized enum value.");
287       }
288       return getDescriptor().getValues().get(ordinal());
289     }
290 
getDescriptorForType()291     public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
292       return getDescriptor();
293     }
294 
getDescriptor()295     public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
296       return com.google.cloud.compute.v1.Rule.getDescriptor().getEnumTypes().get(0);
297     }
298 
299     private static final Action[] VALUES = values();
300 
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)301     public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
302       if (desc.getType() != getDescriptor()) {
303         throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
304       }
305       if (desc.getIndex() == -1) {
306         return UNRECOGNIZED;
307       }
308       return VALUES[desc.getIndex()];
309     }
310 
311     private final int value;
312 
Action(int value)313     private Action(int value) {
314       this.value = value;
315     }
316 
317     // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Rule.Action)
318   }
319 
320   private int bitField0_;
321   public static final int ACTION_FIELD_NUMBER = 187661878;
322 
323   @SuppressWarnings("serial")
324   private volatile java.lang.Object action_ = "";
325   /**
326    *
327    *
328    * <pre>
329    * This is deprecated and has no effect. Do not use.
330    * Check the Action enum for the list of possible values.
331    * </pre>
332    *
333    * <code>optional string action = 187661878;</code>
334    *
335    * @return Whether the action field is set.
336    */
337   @java.lang.Override
hasAction()338   public boolean hasAction() {
339     return ((bitField0_ & 0x00000001) != 0);
340   }
341   /**
342    *
343    *
344    * <pre>
345    * This is deprecated and has no effect. Do not use.
346    * Check the Action enum for the list of possible values.
347    * </pre>
348    *
349    * <code>optional string action = 187661878;</code>
350    *
351    * @return The action.
352    */
353   @java.lang.Override
getAction()354   public java.lang.String getAction() {
355     java.lang.Object ref = action_;
356     if (ref instanceof java.lang.String) {
357       return (java.lang.String) ref;
358     } else {
359       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
360       java.lang.String s = bs.toStringUtf8();
361       action_ = s;
362       return s;
363     }
364   }
365   /**
366    *
367    *
368    * <pre>
369    * This is deprecated and has no effect. Do not use.
370    * Check the Action enum for the list of possible values.
371    * </pre>
372    *
373    * <code>optional string action = 187661878;</code>
374    *
375    * @return The bytes for action.
376    */
377   @java.lang.Override
getActionBytes()378   public com.google.protobuf.ByteString getActionBytes() {
379     java.lang.Object ref = action_;
380     if (ref instanceof java.lang.String) {
381       com.google.protobuf.ByteString b =
382           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
383       action_ = b;
384       return b;
385     } else {
386       return (com.google.protobuf.ByteString) ref;
387     }
388   }
389 
390   public static final int CONDITIONS_FIELD_NUMBER = 142882488;
391 
392   @SuppressWarnings("serial")
393   private java.util.List<com.google.cloud.compute.v1.Condition> conditions_;
394   /**
395    *
396    *
397    * <pre>
398    * This is deprecated and has no effect. Do not use.
399    * </pre>
400    *
401    * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
402    */
403   @java.lang.Override
getConditionsList()404   public java.util.List<com.google.cloud.compute.v1.Condition> getConditionsList() {
405     return conditions_;
406   }
407   /**
408    *
409    *
410    * <pre>
411    * This is deprecated and has no effect. Do not use.
412    * </pre>
413    *
414    * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
415    */
416   @java.lang.Override
417   public java.util.List<? extends com.google.cloud.compute.v1.ConditionOrBuilder>
getConditionsOrBuilderList()418       getConditionsOrBuilderList() {
419     return conditions_;
420   }
421   /**
422    *
423    *
424    * <pre>
425    * This is deprecated and has no effect. Do not use.
426    * </pre>
427    *
428    * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
429    */
430   @java.lang.Override
getConditionsCount()431   public int getConditionsCount() {
432     return conditions_.size();
433   }
434   /**
435    *
436    *
437    * <pre>
438    * This is deprecated and has no effect. Do not use.
439    * </pre>
440    *
441    * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
442    */
443   @java.lang.Override
getConditions(int index)444   public com.google.cloud.compute.v1.Condition getConditions(int index) {
445     return conditions_.get(index);
446   }
447   /**
448    *
449    *
450    * <pre>
451    * This is deprecated and has no effect. Do not use.
452    * </pre>
453    *
454    * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
455    */
456   @java.lang.Override
getConditionsOrBuilder(int index)457   public com.google.cloud.compute.v1.ConditionOrBuilder getConditionsOrBuilder(int index) {
458     return conditions_.get(index);
459   }
460 
461   public static final int DESCRIPTION_FIELD_NUMBER = 422937596;
462 
463   @SuppressWarnings("serial")
464   private volatile java.lang.Object description_ = "";
465   /**
466    *
467    *
468    * <pre>
469    * This is deprecated and has no effect. Do not use.
470    * </pre>
471    *
472    * <code>optional string description = 422937596;</code>
473    *
474    * @return Whether the description field is set.
475    */
476   @java.lang.Override
hasDescription()477   public boolean hasDescription() {
478     return ((bitField0_ & 0x00000002) != 0);
479   }
480   /**
481    *
482    *
483    * <pre>
484    * This is deprecated and has no effect. Do not use.
485    * </pre>
486    *
487    * <code>optional string description = 422937596;</code>
488    *
489    * @return The description.
490    */
491   @java.lang.Override
getDescription()492   public java.lang.String getDescription() {
493     java.lang.Object ref = description_;
494     if (ref instanceof java.lang.String) {
495       return (java.lang.String) ref;
496     } else {
497       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
498       java.lang.String s = bs.toStringUtf8();
499       description_ = s;
500       return s;
501     }
502   }
503   /**
504    *
505    *
506    * <pre>
507    * This is deprecated and has no effect. Do not use.
508    * </pre>
509    *
510    * <code>optional string description = 422937596;</code>
511    *
512    * @return The bytes for description.
513    */
514   @java.lang.Override
getDescriptionBytes()515   public com.google.protobuf.ByteString getDescriptionBytes() {
516     java.lang.Object ref = description_;
517     if (ref instanceof java.lang.String) {
518       com.google.protobuf.ByteString b =
519           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
520       description_ = b;
521       return b;
522     } else {
523       return (com.google.protobuf.ByteString) ref;
524     }
525   }
526 
527   public static final int INS_FIELD_NUMBER = 104430;
528 
529   @SuppressWarnings("serial")
530   private com.google.protobuf.LazyStringList ins_;
531   /**
532    *
533    *
534    * <pre>
535    * This is deprecated and has no effect. Do not use.
536    * </pre>
537    *
538    * <code>repeated string ins = 104430;</code>
539    *
540    * @return A list containing the ins.
541    */
getInsList()542   public com.google.protobuf.ProtocolStringList getInsList() {
543     return ins_;
544   }
545   /**
546    *
547    *
548    * <pre>
549    * This is deprecated and has no effect. Do not use.
550    * </pre>
551    *
552    * <code>repeated string ins = 104430;</code>
553    *
554    * @return The count of ins.
555    */
getInsCount()556   public int getInsCount() {
557     return ins_.size();
558   }
559   /**
560    *
561    *
562    * <pre>
563    * This is deprecated and has no effect. Do not use.
564    * </pre>
565    *
566    * <code>repeated string ins = 104430;</code>
567    *
568    * @param index The index of the element to return.
569    * @return The ins at the given index.
570    */
getIns(int index)571   public java.lang.String getIns(int index) {
572     return ins_.get(index);
573   }
574   /**
575    *
576    *
577    * <pre>
578    * This is deprecated and has no effect. Do not use.
579    * </pre>
580    *
581    * <code>repeated string ins = 104430;</code>
582    *
583    * @param index The index of the value to return.
584    * @return The bytes of the ins at the given index.
585    */
getInsBytes(int index)586   public com.google.protobuf.ByteString getInsBytes(int index) {
587     return ins_.getByteString(index);
588   }
589 
590   public static final int LOG_CONFIGS_FIELD_NUMBER = 152873846;
591 
592   @SuppressWarnings("serial")
593   private java.util.List<com.google.cloud.compute.v1.LogConfig> logConfigs_;
594   /**
595    *
596    *
597    * <pre>
598    * This is deprecated and has no effect. Do not use.
599    * </pre>
600    *
601    * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
602    */
603   @java.lang.Override
getLogConfigsList()604   public java.util.List<com.google.cloud.compute.v1.LogConfig> getLogConfigsList() {
605     return logConfigs_;
606   }
607   /**
608    *
609    *
610    * <pre>
611    * This is deprecated and has no effect. Do not use.
612    * </pre>
613    *
614    * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
615    */
616   @java.lang.Override
617   public java.util.List<? extends com.google.cloud.compute.v1.LogConfigOrBuilder>
getLogConfigsOrBuilderList()618       getLogConfigsOrBuilderList() {
619     return logConfigs_;
620   }
621   /**
622    *
623    *
624    * <pre>
625    * This is deprecated and has no effect. Do not use.
626    * </pre>
627    *
628    * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
629    */
630   @java.lang.Override
getLogConfigsCount()631   public int getLogConfigsCount() {
632     return logConfigs_.size();
633   }
634   /**
635    *
636    *
637    * <pre>
638    * This is deprecated and has no effect. Do not use.
639    * </pre>
640    *
641    * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
642    */
643   @java.lang.Override
getLogConfigs(int index)644   public com.google.cloud.compute.v1.LogConfig getLogConfigs(int index) {
645     return logConfigs_.get(index);
646   }
647   /**
648    *
649    *
650    * <pre>
651    * This is deprecated and has no effect. Do not use.
652    * </pre>
653    *
654    * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
655    */
656   @java.lang.Override
getLogConfigsOrBuilder(int index)657   public com.google.cloud.compute.v1.LogConfigOrBuilder getLogConfigsOrBuilder(int index) {
658     return logConfigs_.get(index);
659   }
660 
661   public static final int NOT_INS_FIELD_NUMBER = 518443138;
662 
663   @SuppressWarnings("serial")
664   private com.google.protobuf.LazyStringList notIns_;
665   /**
666    *
667    *
668    * <pre>
669    * This is deprecated and has no effect. Do not use.
670    * </pre>
671    *
672    * <code>repeated string not_ins = 518443138;</code>
673    *
674    * @return A list containing the notIns.
675    */
getNotInsList()676   public com.google.protobuf.ProtocolStringList getNotInsList() {
677     return notIns_;
678   }
679   /**
680    *
681    *
682    * <pre>
683    * This is deprecated and has no effect. Do not use.
684    * </pre>
685    *
686    * <code>repeated string not_ins = 518443138;</code>
687    *
688    * @return The count of notIns.
689    */
getNotInsCount()690   public int getNotInsCount() {
691     return notIns_.size();
692   }
693   /**
694    *
695    *
696    * <pre>
697    * This is deprecated and has no effect. Do not use.
698    * </pre>
699    *
700    * <code>repeated string not_ins = 518443138;</code>
701    *
702    * @param index The index of the element to return.
703    * @return The notIns at the given index.
704    */
getNotIns(int index)705   public java.lang.String getNotIns(int index) {
706     return notIns_.get(index);
707   }
708   /**
709    *
710    *
711    * <pre>
712    * This is deprecated and has no effect. Do not use.
713    * </pre>
714    *
715    * <code>repeated string not_ins = 518443138;</code>
716    *
717    * @param index The index of the value to return.
718    * @return The bytes of the notIns at the given index.
719    */
getNotInsBytes(int index)720   public com.google.protobuf.ByteString getNotInsBytes(int index) {
721     return notIns_.getByteString(index);
722   }
723 
724   public static final int PERMISSIONS_FIELD_NUMBER = 59962500;
725 
726   @SuppressWarnings("serial")
727   private com.google.protobuf.LazyStringList permissions_;
728   /**
729    *
730    *
731    * <pre>
732    * This is deprecated and has no effect. Do not use.
733    * </pre>
734    *
735    * <code>repeated string permissions = 59962500;</code>
736    *
737    * @return A list containing the permissions.
738    */
getPermissionsList()739   public com.google.protobuf.ProtocolStringList getPermissionsList() {
740     return permissions_;
741   }
742   /**
743    *
744    *
745    * <pre>
746    * This is deprecated and has no effect. Do not use.
747    * </pre>
748    *
749    * <code>repeated string permissions = 59962500;</code>
750    *
751    * @return The count of permissions.
752    */
getPermissionsCount()753   public int getPermissionsCount() {
754     return permissions_.size();
755   }
756   /**
757    *
758    *
759    * <pre>
760    * This is deprecated and has no effect. Do not use.
761    * </pre>
762    *
763    * <code>repeated string permissions = 59962500;</code>
764    *
765    * @param index The index of the element to return.
766    * @return The permissions at the given index.
767    */
getPermissions(int index)768   public java.lang.String getPermissions(int index) {
769     return permissions_.get(index);
770   }
771   /**
772    *
773    *
774    * <pre>
775    * This is deprecated and has no effect. Do not use.
776    * </pre>
777    *
778    * <code>repeated string permissions = 59962500;</code>
779    *
780    * @param index The index of the value to return.
781    * @return The bytes of the permissions at the given index.
782    */
getPermissionsBytes(int index)783   public com.google.protobuf.ByteString getPermissionsBytes(int index) {
784     return permissions_.getByteString(index);
785   }
786 
787   private byte memoizedIsInitialized = -1;
788 
789   @java.lang.Override
isInitialized()790   public final boolean isInitialized() {
791     byte isInitialized = memoizedIsInitialized;
792     if (isInitialized == 1) return true;
793     if (isInitialized == 0) return false;
794 
795     memoizedIsInitialized = 1;
796     return true;
797   }
798 
799   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)800   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
801     for (int i = 0; i < ins_.size(); i++) {
802       com.google.protobuf.GeneratedMessageV3.writeString(output, 104430, ins_.getRaw(i));
803     }
804     for (int i = 0; i < permissions_.size(); i++) {
805       com.google.protobuf.GeneratedMessageV3.writeString(output, 59962500, permissions_.getRaw(i));
806     }
807     for (int i = 0; i < conditions_.size(); i++) {
808       output.writeMessage(142882488, conditions_.get(i));
809     }
810     for (int i = 0; i < logConfigs_.size(); i++) {
811       output.writeMessage(152873846, logConfigs_.get(i));
812     }
813     if (((bitField0_ & 0x00000001) != 0)) {
814       com.google.protobuf.GeneratedMessageV3.writeString(output, 187661878, action_);
815     }
816     if (((bitField0_ & 0x00000002) != 0)) {
817       com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_);
818     }
819     for (int i = 0; i < notIns_.size(); i++) {
820       com.google.protobuf.GeneratedMessageV3.writeString(output, 518443138, notIns_.getRaw(i));
821     }
822     getUnknownFields().writeTo(output);
823   }
824 
825   @java.lang.Override
getSerializedSize()826   public int getSerializedSize() {
827     int size = memoizedSize;
828     if (size != -1) return size;
829 
830     size = 0;
831     {
832       int dataSize = 0;
833       for (int i = 0; i < ins_.size(); i++) {
834         dataSize += computeStringSizeNoTag(ins_.getRaw(i));
835       }
836       size += dataSize;
837       size += 3 * getInsList().size();
838     }
839     {
840       int dataSize = 0;
841       for (int i = 0; i < permissions_.size(); i++) {
842         dataSize += computeStringSizeNoTag(permissions_.getRaw(i));
843       }
844       size += dataSize;
845       size += 5 * getPermissionsList().size();
846     }
847     for (int i = 0; i < conditions_.size(); i++) {
848       size +=
849           com.google.protobuf.CodedOutputStream.computeMessageSize(142882488, conditions_.get(i));
850     }
851     for (int i = 0; i < logConfigs_.size(); i++) {
852       size +=
853           com.google.protobuf.CodedOutputStream.computeMessageSize(152873846, logConfigs_.get(i));
854     }
855     if (((bitField0_ & 0x00000001) != 0)) {
856       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(187661878, action_);
857     }
858     if (((bitField0_ & 0x00000002) != 0)) {
859       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_);
860     }
861     {
862       int dataSize = 0;
863       for (int i = 0; i < notIns_.size(); i++) {
864         dataSize += computeStringSizeNoTag(notIns_.getRaw(i));
865       }
866       size += dataSize;
867       size += 5 * getNotInsList().size();
868     }
869     size += getUnknownFields().getSerializedSize();
870     memoizedSize = size;
871     return size;
872   }
873 
874   @java.lang.Override
equals(final java.lang.Object obj)875   public boolean equals(final java.lang.Object obj) {
876     if (obj == this) {
877       return true;
878     }
879     if (!(obj instanceof com.google.cloud.compute.v1.Rule)) {
880       return super.equals(obj);
881     }
882     com.google.cloud.compute.v1.Rule other = (com.google.cloud.compute.v1.Rule) obj;
883 
884     if (hasAction() != other.hasAction()) return false;
885     if (hasAction()) {
886       if (!getAction().equals(other.getAction())) return false;
887     }
888     if (!getConditionsList().equals(other.getConditionsList())) return false;
889     if (hasDescription() != other.hasDescription()) return false;
890     if (hasDescription()) {
891       if (!getDescription().equals(other.getDescription())) return false;
892     }
893     if (!getInsList().equals(other.getInsList())) return false;
894     if (!getLogConfigsList().equals(other.getLogConfigsList())) return false;
895     if (!getNotInsList().equals(other.getNotInsList())) return false;
896     if (!getPermissionsList().equals(other.getPermissionsList())) return false;
897     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
898     return true;
899   }
900 
901   @java.lang.Override
hashCode()902   public int hashCode() {
903     if (memoizedHashCode != 0) {
904       return memoizedHashCode;
905     }
906     int hash = 41;
907     hash = (19 * hash) + getDescriptor().hashCode();
908     if (hasAction()) {
909       hash = (37 * hash) + ACTION_FIELD_NUMBER;
910       hash = (53 * hash) + getAction().hashCode();
911     }
912     if (getConditionsCount() > 0) {
913       hash = (37 * hash) + CONDITIONS_FIELD_NUMBER;
914       hash = (53 * hash) + getConditionsList().hashCode();
915     }
916     if (hasDescription()) {
917       hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
918       hash = (53 * hash) + getDescription().hashCode();
919     }
920     if (getInsCount() > 0) {
921       hash = (37 * hash) + INS_FIELD_NUMBER;
922       hash = (53 * hash) + getInsList().hashCode();
923     }
924     if (getLogConfigsCount() > 0) {
925       hash = (37 * hash) + LOG_CONFIGS_FIELD_NUMBER;
926       hash = (53 * hash) + getLogConfigsList().hashCode();
927     }
928     if (getNotInsCount() > 0) {
929       hash = (37 * hash) + NOT_INS_FIELD_NUMBER;
930       hash = (53 * hash) + getNotInsList().hashCode();
931     }
932     if (getPermissionsCount() > 0) {
933       hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER;
934       hash = (53 * hash) + getPermissionsList().hashCode();
935     }
936     hash = (29 * hash) + getUnknownFields().hashCode();
937     memoizedHashCode = hash;
938     return hash;
939   }
940 
parseFrom(java.nio.ByteBuffer data)941   public static com.google.cloud.compute.v1.Rule parseFrom(java.nio.ByteBuffer data)
942       throws com.google.protobuf.InvalidProtocolBufferException {
943     return PARSER.parseFrom(data);
944   }
945 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)946   public static com.google.cloud.compute.v1.Rule parseFrom(
947       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
948       throws com.google.protobuf.InvalidProtocolBufferException {
949     return PARSER.parseFrom(data, extensionRegistry);
950   }
951 
parseFrom(com.google.protobuf.ByteString data)952   public static com.google.cloud.compute.v1.Rule parseFrom(com.google.protobuf.ByteString data)
953       throws com.google.protobuf.InvalidProtocolBufferException {
954     return PARSER.parseFrom(data);
955   }
956 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)957   public static com.google.cloud.compute.v1.Rule parseFrom(
958       com.google.protobuf.ByteString data,
959       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
960       throws com.google.protobuf.InvalidProtocolBufferException {
961     return PARSER.parseFrom(data, extensionRegistry);
962   }
963 
parseFrom(byte[] data)964   public static com.google.cloud.compute.v1.Rule parseFrom(byte[] data)
965       throws com.google.protobuf.InvalidProtocolBufferException {
966     return PARSER.parseFrom(data);
967   }
968 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)969   public static com.google.cloud.compute.v1.Rule parseFrom(
970       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
971       throws com.google.protobuf.InvalidProtocolBufferException {
972     return PARSER.parseFrom(data, extensionRegistry);
973   }
974 
parseFrom(java.io.InputStream input)975   public static com.google.cloud.compute.v1.Rule parseFrom(java.io.InputStream input)
976       throws java.io.IOException {
977     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
978   }
979 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)980   public static com.google.cloud.compute.v1.Rule parseFrom(
981       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
982       throws java.io.IOException {
983     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
984         PARSER, input, extensionRegistry);
985   }
986 
parseDelimitedFrom(java.io.InputStream input)987   public static com.google.cloud.compute.v1.Rule parseDelimitedFrom(java.io.InputStream input)
988       throws java.io.IOException {
989     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
990   }
991 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)992   public static com.google.cloud.compute.v1.Rule parseDelimitedFrom(
993       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
994       throws java.io.IOException {
995     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
996         PARSER, input, extensionRegistry);
997   }
998 
parseFrom( com.google.protobuf.CodedInputStream input)999   public static com.google.cloud.compute.v1.Rule parseFrom(
1000       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
1001     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
1002   }
1003 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1004   public static com.google.cloud.compute.v1.Rule parseFrom(
1005       com.google.protobuf.CodedInputStream input,
1006       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1007       throws java.io.IOException {
1008     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
1009         PARSER, input, extensionRegistry);
1010   }
1011 
1012   @java.lang.Override
newBuilderForType()1013   public Builder newBuilderForType() {
1014     return newBuilder();
1015   }
1016 
newBuilder()1017   public static Builder newBuilder() {
1018     return DEFAULT_INSTANCE.toBuilder();
1019   }
1020 
newBuilder(com.google.cloud.compute.v1.Rule prototype)1021   public static Builder newBuilder(com.google.cloud.compute.v1.Rule prototype) {
1022     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1023   }
1024 
1025   @java.lang.Override
toBuilder()1026   public Builder toBuilder() {
1027     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
1028   }
1029 
1030   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1031   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1032     Builder builder = new Builder(parent);
1033     return builder;
1034   }
1035   /**
1036    *
1037    *
1038    * <pre>
1039    * This is deprecated and has no effect. Do not use.
1040    * </pre>
1041    *
1042    * Protobuf type {@code google.cloud.compute.v1.Rule}
1043    */
1044   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
1045       implements
1046       // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.Rule)
1047       com.google.cloud.compute.v1.RuleOrBuilder {
getDescriptor()1048     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
1049       return com.google.cloud.compute.v1.Compute
1050           .internal_static_google_cloud_compute_v1_Rule_descriptor;
1051     }
1052 
1053     @java.lang.Override
1054     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()1055         internalGetFieldAccessorTable() {
1056       return com.google.cloud.compute.v1.Compute
1057           .internal_static_google_cloud_compute_v1_Rule_fieldAccessorTable
1058           .ensureFieldAccessorsInitialized(
1059               com.google.cloud.compute.v1.Rule.class,
1060               com.google.cloud.compute.v1.Rule.Builder.class);
1061     }
1062 
1063     // Construct using com.google.cloud.compute.v1.Rule.newBuilder()
Builder()1064     private Builder() {}
1065 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1066     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1067       super(parent);
1068     }
1069 
1070     @java.lang.Override
clear()1071     public Builder clear() {
1072       super.clear();
1073       bitField0_ = 0;
1074       action_ = "";
1075       if (conditionsBuilder_ == null) {
1076         conditions_ = java.util.Collections.emptyList();
1077       } else {
1078         conditions_ = null;
1079         conditionsBuilder_.clear();
1080       }
1081       bitField0_ = (bitField0_ & ~0x00000002);
1082       description_ = "";
1083       ins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1084       bitField0_ = (bitField0_ & ~0x00000008);
1085       if (logConfigsBuilder_ == null) {
1086         logConfigs_ = java.util.Collections.emptyList();
1087       } else {
1088         logConfigs_ = null;
1089         logConfigsBuilder_.clear();
1090       }
1091       bitField0_ = (bitField0_ & ~0x00000010);
1092       notIns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1093       bitField0_ = (bitField0_ & ~0x00000020);
1094       permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1095       bitField0_ = (bitField0_ & ~0x00000040);
1096       return this;
1097     }
1098 
1099     @java.lang.Override
getDescriptorForType()1100     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
1101       return com.google.cloud.compute.v1.Compute
1102           .internal_static_google_cloud_compute_v1_Rule_descriptor;
1103     }
1104 
1105     @java.lang.Override
getDefaultInstanceForType()1106     public com.google.cloud.compute.v1.Rule getDefaultInstanceForType() {
1107       return com.google.cloud.compute.v1.Rule.getDefaultInstance();
1108     }
1109 
1110     @java.lang.Override
build()1111     public com.google.cloud.compute.v1.Rule build() {
1112       com.google.cloud.compute.v1.Rule result = buildPartial();
1113       if (!result.isInitialized()) {
1114         throw newUninitializedMessageException(result);
1115       }
1116       return result;
1117     }
1118 
1119     @java.lang.Override
buildPartial()1120     public com.google.cloud.compute.v1.Rule buildPartial() {
1121       com.google.cloud.compute.v1.Rule result = new com.google.cloud.compute.v1.Rule(this);
1122       buildPartialRepeatedFields(result);
1123       if (bitField0_ != 0) {
1124         buildPartial0(result);
1125       }
1126       onBuilt();
1127       return result;
1128     }
1129 
buildPartialRepeatedFields(com.google.cloud.compute.v1.Rule result)1130     private void buildPartialRepeatedFields(com.google.cloud.compute.v1.Rule result) {
1131       if (conditionsBuilder_ == null) {
1132         if (((bitField0_ & 0x00000002) != 0)) {
1133           conditions_ = java.util.Collections.unmodifiableList(conditions_);
1134           bitField0_ = (bitField0_ & ~0x00000002);
1135         }
1136         result.conditions_ = conditions_;
1137       } else {
1138         result.conditions_ = conditionsBuilder_.build();
1139       }
1140       if (((bitField0_ & 0x00000008) != 0)) {
1141         ins_ = ins_.getUnmodifiableView();
1142         bitField0_ = (bitField0_ & ~0x00000008);
1143       }
1144       result.ins_ = ins_;
1145       if (logConfigsBuilder_ == null) {
1146         if (((bitField0_ & 0x00000010) != 0)) {
1147           logConfigs_ = java.util.Collections.unmodifiableList(logConfigs_);
1148           bitField0_ = (bitField0_ & ~0x00000010);
1149         }
1150         result.logConfigs_ = logConfigs_;
1151       } else {
1152         result.logConfigs_ = logConfigsBuilder_.build();
1153       }
1154       if (((bitField0_ & 0x00000020) != 0)) {
1155         notIns_ = notIns_.getUnmodifiableView();
1156         bitField0_ = (bitField0_ & ~0x00000020);
1157       }
1158       result.notIns_ = notIns_;
1159       if (((bitField0_ & 0x00000040) != 0)) {
1160         permissions_ = permissions_.getUnmodifiableView();
1161         bitField0_ = (bitField0_ & ~0x00000040);
1162       }
1163       result.permissions_ = permissions_;
1164     }
1165 
buildPartial0(com.google.cloud.compute.v1.Rule result)1166     private void buildPartial0(com.google.cloud.compute.v1.Rule result) {
1167       int from_bitField0_ = bitField0_;
1168       int to_bitField0_ = 0;
1169       if (((from_bitField0_ & 0x00000001) != 0)) {
1170         result.action_ = action_;
1171         to_bitField0_ |= 0x00000001;
1172       }
1173       if (((from_bitField0_ & 0x00000004) != 0)) {
1174         result.description_ = description_;
1175         to_bitField0_ |= 0x00000002;
1176       }
1177       result.bitField0_ |= to_bitField0_;
1178     }
1179 
1180     @java.lang.Override
clone()1181     public Builder clone() {
1182       return super.clone();
1183     }
1184 
1185     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1186     public Builder setField(
1187         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
1188       return super.setField(field, value);
1189     }
1190 
1191     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)1192     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
1193       return super.clearField(field);
1194     }
1195 
1196     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)1197     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1198       return super.clearOneof(oneof);
1199     }
1200 
1201     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1202     public Builder setRepeatedField(
1203         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
1204       return super.setRepeatedField(field, index, value);
1205     }
1206 
1207     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1208     public Builder addRepeatedField(
1209         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
1210       return super.addRepeatedField(field, value);
1211     }
1212 
1213     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)1214     public Builder mergeFrom(com.google.protobuf.Message other) {
1215       if (other instanceof com.google.cloud.compute.v1.Rule) {
1216         return mergeFrom((com.google.cloud.compute.v1.Rule) other);
1217       } else {
1218         super.mergeFrom(other);
1219         return this;
1220       }
1221     }
1222 
mergeFrom(com.google.cloud.compute.v1.Rule other)1223     public Builder mergeFrom(com.google.cloud.compute.v1.Rule other) {
1224       if (other == com.google.cloud.compute.v1.Rule.getDefaultInstance()) return this;
1225       if (other.hasAction()) {
1226         action_ = other.action_;
1227         bitField0_ |= 0x00000001;
1228         onChanged();
1229       }
1230       if (conditionsBuilder_ == null) {
1231         if (!other.conditions_.isEmpty()) {
1232           if (conditions_.isEmpty()) {
1233             conditions_ = other.conditions_;
1234             bitField0_ = (bitField0_ & ~0x00000002);
1235           } else {
1236             ensureConditionsIsMutable();
1237             conditions_.addAll(other.conditions_);
1238           }
1239           onChanged();
1240         }
1241       } else {
1242         if (!other.conditions_.isEmpty()) {
1243           if (conditionsBuilder_.isEmpty()) {
1244             conditionsBuilder_.dispose();
1245             conditionsBuilder_ = null;
1246             conditions_ = other.conditions_;
1247             bitField0_ = (bitField0_ & ~0x00000002);
1248             conditionsBuilder_ =
1249                 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
1250                     ? getConditionsFieldBuilder()
1251                     : null;
1252           } else {
1253             conditionsBuilder_.addAllMessages(other.conditions_);
1254           }
1255         }
1256       }
1257       if (other.hasDescription()) {
1258         description_ = other.description_;
1259         bitField0_ |= 0x00000004;
1260         onChanged();
1261       }
1262       if (!other.ins_.isEmpty()) {
1263         if (ins_.isEmpty()) {
1264           ins_ = other.ins_;
1265           bitField0_ = (bitField0_ & ~0x00000008);
1266         } else {
1267           ensureInsIsMutable();
1268           ins_.addAll(other.ins_);
1269         }
1270         onChanged();
1271       }
1272       if (logConfigsBuilder_ == null) {
1273         if (!other.logConfigs_.isEmpty()) {
1274           if (logConfigs_.isEmpty()) {
1275             logConfigs_ = other.logConfigs_;
1276             bitField0_ = (bitField0_ & ~0x00000010);
1277           } else {
1278             ensureLogConfigsIsMutable();
1279             logConfigs_.addAll(other.logConfigs_);
1280           }
1281           onChanged();
1282         }
1283       } else {
1284         if (!other.logConfigs_.isEmpty()) {
1285           if (logConfigsBuilder_.isEmpty()) {
1286             logConfigsBuilder_.dispose();
1287             logConfigsBuilder_ = null;
1288             logConfigs_ = other.logConfigs_;
1289             bitField0_ = (bitField0_ & ~0x00000010);
1290             logConfigsBuilder_ =
1291                 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
1292                     ? getLogConfigsFieldBuilder()
1293                     : null;
1294           } else {
1295             logConfigsBuilder_.addAllMessages(other.logConfigs_);
1296           }
1297         }
1298       }
1299       if (!other.notIns_.isEmpty()) {
1300         if (notIns_.isEmpty()) {
1301           notIns_ = other.notIns_;
1302           bitField0_ = (bitField0_ & ~0x00000020);
1303         } else {
1304           ensureNotInsIsMutable();
1305           notIns_.addAll(other.notIns_);
1306         }
1307         onChanged();
1308       }
1309       if (!other.permissions_.isEmpty()) {
1310         if (permissions_.isEmpty()) {
1311           permissions_ = other.permissions_;
1312           bitField0_ = (bitField0_ & ~0x00000040);
1313         } else {
1314           ensurePermissionsIsMutable();
1315           permissions_.addAll(other.permissions_);
1316         }
1317         onChanged();
1318       }
1319       this.mergeUnknownFields(other.getUnknownFields());
1320       onChanged();
1321       return this;
1322     }
1323 
1324     @java.lang.Override
isInitialized()1325     public final boolean isInitialized() {
1326       return true;
1327     }
1328 
1329     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1330     public Builder mergeFrom(
1331         com.google.protobuf.CodedInputStream input,
1332         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1333         throws java.io.IOException {
1334       if (extensionRegistry == null) {
1335         throw new java.lang.NullPointerException();
1336       }
1337       try {
1338         boolean done = false;
1339         while (!done) {
1340           int tag = input.readTag();
1341           switch (tag) {
1342             case 0:
1343               done = true;
1344               break;
1345             case 835442:
1346               {
1347                 java.lang.String s = input.readStringRequireUtf8();
1348                 ensureInsIsMutable();
1349                 ins_.add(s);
1350                 break;
1351               } // case 835442
1352             case 479700002:
1353               {
1354                 java.lang.String s = input.readStringRequireUtf8();
1355                 ensurePermissionsIsMutable();
1356                 permissions_.add(s);
1357                 break;
1358               } // case 479700002
1359             case 1143059906:
1360               {
1361                 com.google.cloud.compute.v1.Condition m =
1362                     input.readMessage(
1363                         com.google.cloud.compute.v1.Condition.parser(), extensionRegistry);
1364                 if (conditionsBuilder_ == null) {
1365                   ensureConditionsIsMutable();
1366                   conditions_.add(m);
1367                 } else {
1368                   conditionsBuilder_.addMessage(m);
1369                 }
1370                 break;
1371               } // case 1143059906
1372             case 1222990770:
1373               {
1374                 com.google.cloud.compute.v1.LogConfig m =
1375                     input.readMessage(
1376                         com.google.cloud.compute.v1.LogConfig.parser(), extensionRegistry);
1377                 if (logConfigsBuilder_ == null) {
1378                   ensureLogConfigsIsMutable();
1379                   logConfigs_.add(m);
1380                 } else {
1381                   logConfigsBuilder_.addMessage(m);
1382                 }
1383                 break;
1384               } // case 1222990770
1385             case 1501295026:
1386               {
1387                 action_ = input.readStringRequireUtf8();
1388                 bitField0_ |= 0x00000001;
1389                 break;
1390               } // case 1501295026
1391             case -911466526:
1392               {
1393                 description_ = input.readStringRequireUtf8();
1394                 bitField0_ |= 0x00000004;
1395                 break;
1396               } // case -911466526
1397             case -147422190:
1398               {
1399                 java.lang.String s = input.readStringRequireUtf8();
1400                 ensureNotInsIsMutable();
1401                 notIns_.add(s);
1402                 break;
1403               } // case -147422190
1404             default:
1405               {
1406                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1407                   done = true; // was an endgroup tag
1408                 }
1409                 break;
1410               } // default:
1411           } // switch (tag)
1412         } // while (!done)
1413       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1414         throw e.unwrapIOException();
1415       } finally {
1416         onChanged();
1417       } // finally
1418       return this;
1419     }
1420 
1421     private int bitField0_;
1422 
1423     private java.lang.Object action_ = "";
1424     /**
1425      *
1426      *
1427      * <pre>
1428      * This is deprecated and has no effect. Do not use.
1429      * Check the Action enum for the list of possible values.
1430      * </pre>
1431      *
1432      * <code>optional string action = 187661878;</code>
1433      *
1434      * @return Whether the action field is set.
1435      */
hasAction()1436     public boolean hasAction() {
1437       return ((bitField0_ & 0x00000001) != 0);
1438     }
1439     /**
1440      *
1441      *
1442      * <pre>
1443      * This is deprecated and has no effect. Do not use.
1444      * Check the Action enum for the list of possible values.
1445      * </pre>
1446      *
1447      * <code>optional string action = 187661878;</code>
1448      *
1449      * @return The action.
1450      */
getAction()1451     public java.lang.String getAction() {
1452       java.lang.Object ref = action_;
1453       if (!(ref instanceof java.lang.String)) {
1454         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1455         java.lang.String s = bs.toStringUtf8();
1456         action_ = s;
1457         return s;
1458       } else {
1459         return (java.lang.String) ref;
1460       }
1461     }
1462     /**
1463      *
1464      *
1465      * <pre>
1466      * This is deprecated and has no effect. Do not use.
1467      * Check the Action enum for the list of possible values.
1468      * </pre>
1469      *
1470      * <code>optional string action = 187661878;</code>
1471      *
1472      * @return The bytes for action.
1473      */
getActionBytes()1474     public com.google.protobuf.ByteString getActionBytes() {
1475       java.lang.Object ref = action_;
1476       if (ref instanceof String) {
1477         com.google.protobuf.ByteString b =
1478             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1479         action_ = b;
1480         return b;
1481       } else {
1482         return (com.google.protobuf.ByteString) ref;
1483       }
1484     }
1485     /**
1486      *
1487      *
1488      * <pre>
1489      * This is deprecated and has no effect. Do not use.
1490      * Check the Action enum for the list of possible values.
1491      * </pre>
1492      *
1493      * <code>optional string action = 187661878;</code>
1494      *
1495      * @param value The action to set.
1496      * @return This builder for chaining.
1497      */
setAction(java.lang.String value)1498     public Builder setAction(java.lang.String value) {
1499       if (value == null) {
1500         throw new NullPointerException();
1501       }
1502       action_ = value;
1503       bitField0_ |= 0x00000001;
1504       onChanged();
1505       return this;
1506     }
1507     /**
1508      *
1509      *
1510      * <pre>
1511      * This is deprecated and has no effect. Do not use.
1512      * Check the Action enum for the list of possible values.
1513      * </pre>
1514      *
1515      * <code>optional string action = 187661878;</code>
1516      *
1517      * @return This builder for chaining.
1518      */
clearAction()1519     public Builder clearAction() {
1520       action_ = getDefaultInstance().getAction();
1521       bitField0_ = (bitField0_ & ~0x00000001);
1522       onChanged();
1523       return this;
1524     }
1525     /**
1526      *
1527      *
1528      * <pre>
1529      * This is deprecated and has no effect. Do not use.
1530      * Check the Action enum for the list of possible values.
1531      * </pre>
1532      *
1533      * <code>optional string action = 187661878;</code>
1534      *
1535      * @param value The bytes for action to set.
1536      * @return This builder for chaining.
1537      */
setActionBytes(com.google.protobuf.ByteString value)1538     public Builder setActionBytes(com.google.protobuf.ByteString value) {
1539       if (value == null) {
1540         throw new NullPointerException();
1541       }
1542       checkByteStringIsUtf8(value);
1543       action_ = value;
1544       bitField0_ |= 0x00000001;
1545       onChanged();
1546       return this;
1547     }
1548 
1549     private java.util.List<com.google.cloud.compute.v1.Condition> conditions_ =
1550         java.util.Collections.emptyList();
1551 
ensureConditionsIsMutable()1552     private void ensureConditionsIsMutable() {
1553       if (!((bitField0_ & 0x00000002) != 0)) {
1554         conditions_ = new java.util.ArrayList<com.google.cloud.compute.v1.Condition>(conditions_);
1555         bitField0_ |= 0x00000002;
1556       }
1557     }
1558 
1559     private com.google.protobuf.RepeatedFieldBuilderV3<
1560             com.google.cloud.compute.v1.Condition,
1561             com.google.cloud.compute.v1.Condition.Builder,
1562             com.google.cloud.compute.v1.ConditionOrBuilder>
1563         conditionsBuilder_;
1564 
1565     /**
1566      *
1567      *
1568      * <pre>
1569      * This is deprecated and has no effect. Do not use.
1570      * </pre>
1571      *
1572      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1573      */
getConditionsList()1574     public java.util.List<com.google.cloud.compute.v1.Condition> getConditionsList() {
1575       if (conditionsBuilder_ == null) {
1576         return java.util.Collections.unmodifiableList(conditions_);
1577       } else {
1578         return conditionsBuilder_.getMessageList();
1579       }
1580     }
1581     /**
1582      *
1583      *
1584      * <pre>
1585      * This is deprecated and has no effect. Do not use.
1586      * </pre>
1587      *
1588      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1589      */
getConditionsCount()1590     public int getConditionsCount() {
1591       if (conditionsBuilder_ == null) {
1592         return conditions_.size();
1593       } else {
1594         return conditionsBuilder_.getCount();
1595       }
1596     }
1597     /**
1598      *
1599      *
1600      * <pre>
1601      * This is deprecated and has no effect. Do not use.
1602      * </pre>
1603      *
1604      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1605      */
getConditions(int index)1606     public com.google.cloud.compute.v1.Condition getConditions(int index) {
1607       if (conditionsBuilder_ == null) {
1608         return conditions_.get(index);
1609       } else {
1610         return conditionsBuilder_.getMessage(index);
1611       }
1612     }
1613     /**
1614      *
1615      *
1616      * <pre>
1617      * This is deprecated and has no effect. Do not use.
1618      * </pre>
1619      *
1620      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1621      */
setConditions(int index, com.google.cloud.compute.v1.Condition value)1622     public Builder setConditions(int index, com.google.cloud.compute.v1.Condition value) {
1623       if (conditionsBuilder_ == null) {
1624         if (value == null) {
1625           throw new NullPointerException();
1626         }
1627         ensureConditionsIsMutable();
1628         conditions_.set(index, value);
1629         onChanged();
1630       } else {
1631         conditionsBuilder_.setMessage(index, value);
1632       }
1633       return this;
1634     }
1635     /**
1636      *
1637      *
1638      * <pre>
1639      * This is deprecated and has no effect. Do not use.
1640      * </pre>
1641      *
1642      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1643      */
setConditions( int index, com.google.cloud.compute.v1.Condition.Builder builderForValue)1644     public Builder setConditions(
1645         int index, com.google.cloud.compute.v1.Condition.Builder builderForValue) {
1646       if (conditionsBuilder_ == null) {
1647         ensureConditionsIsMutable();
1648         conditions_.set(index, builderForValue.build());
1649         onChanged();
1650       } else {
1651         conditionsBuilder_.setMessage(index, builderForValue.build());
1652       }
1653       return this;
1654     }
1655     /**
1656      *
1657      *
1658      * <pre>
1659      * This is deprecated and has no effect. Do not use.
1660      * </pre>
1661      *
1662      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1663      */
addConditions(com.google.cloud.compute.v1.Condition value)1664     public Builder addConditions(com.google.cloud.compute.v1.Condition value) {
1665       if (conditionsBuilder_ == null) {
1666         if (value == null) {
1667           throw new NullPointerException();
1668         }
1669         ensureConditionsIsMutable();
1670         conditions_.add(value);
1671         onChanged();
1672       } else {
1673         conditionsBuilder_.addMessage(value);
1674       }
1675       return this;
1676     }
1677     /**
1678      *
1679      *
1680      * <pre>
1681      * This is deprecated and has no effect. Do not use.
1682      * </pre>
1683      *
1684      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1685      */
addConditions(int index, com.google.cloud.compute.v1.Condition value)1686     public Builder addConditions(int index, com.google.cloud.compute.v1.Condition value) {
1687       if (conditionsBuilder_ == null) {
1688         if (value == null) {
1689           throw new NullPointerException();
1690         }
1691         ensureConditionsIsMutable();
1692         conditions_.add(index, value);
1693         onChanged();
1694       } else {
1695         conditionsBuilder_.addMessage(index, value);
1696       }
1697       return this;
1698     }
1699     /**
1700      *
1701      *
1702      * <pre>
1703      * This is deprecated and has no effect. Do not use.
1704      * </pre>
1705      *
1706      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1707      */
addConditions(com.google.cloud.compute.v1.Condition.Builder builderForValue)1708     public Builder addConditions(com.google.cloud.compute.v1.Condition.Builder builderForValue) {
1709       if (conditionsBuilder_ == null) {
1710         ensureConditionsIsMutable();
1711         conditions_.add(builderForValue.build());
1712         onChanged();
1713       } else {
1714         conditionsBuilder_.addMessage(builderForValue.build());
1715       }
1716       return this;
1717     }
1718     /**
1719      *
1720      *
1721      * <pre>
1722      * This is deprecated and has no effect. Do not use.
1723      * </pre>
1724      *
1725      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1726      */
addConditions( int index, com.google.cloud.compute.v1.Condition.Builder builderForValue)1727     public Builder addConditions(
1728         int index, com.google.cloud.compute.v1.Condition.Builder builderForValue) {
1729       if (conditionsBuilder_ == null) {
1730         ensureConditionsIsMutable();
1731         conditions_.add(index, builderForValue.build());
1732         onChanged();
1733       } else {
1734         conditionsBuilder_.addMessage(index, builderForValue.build());
1735       }
1736       return this;
1737     }
1738     /**
1739      *
1740      *
1741      * <pre>
1742      * This is deprecated and has no effect. Do not use.
1743      * </pre>
1744      *
1745      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1746      */
addAllConditions( java.lang.Iterable<? extends com.google.cloud.compute.v1.Condition> values)1747     public Builder addAllConditions(
1748         java.lang.Iterable<? extends com.google.cloud.compute.v1.Condition> values) {
1749       if (conditionsBuilder_ == null) {
1750         ensureConditionsIsMutable();
1751         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_);
1752         onChanged();
1753       } else {
1754         conditionsBuilder_.addAllMessages(values);
1755       }
1756       return this;
1757     }
1758     /**
1759      *
1760      *
1761      * <pre>
1762      * This is deprecated and has no effect. Do not use.
1763      * </pre>
1764      *
1765      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1766      */
clearConditions()1767     public Builder clearConditions() {
1768       if (conditionsBuilder_ == null) {
1769         conditions_ = java.util.Collections.emptyList();
1770         bitField0_ = (bitField0_ & ~0x00000002);
1771         onChanged();
1772       } else {
1773         conditionsBuilder_.clear();
1774       }
1775       return this;
1776     }
1777     /**
1778      *
1779      *
1780      * <pre>
1781      * This is deprecated and has no effect. Do not use.
1782      * </pre>
1783      *
1784      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1785      */
removeConditions(int index)1786     public Builder removeConditions(int index) {
1787       if (conditionsBuilder_ == null) {
1788         ensureConditionsIsMutable();
1789         conditions_.remove(index);
1790         onChanged();
1791       } else {
1792         conditionsBuilder_.remove(index);
1793       }
1794       return this;
1795     }
1796     /**
1797      *
1798      *
1799      * <pre>
1800      * This is deprecated and has no effect. Do not use.
1801      * </pre>
1802      *
1803      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1804      */
getConditionsBuilder(int index)1805     public com.google.cloud.compute.v1.Condition.Builder getConditionsBuilder(int index) {
1806       return getConditionsFieldBuilder().getBuilder(index);
1807     }
1808     /**
1809      *
1810      *
1811      * <pre>
1812      * This is deprecated and has no effect. Do not use.
1813      * </pre>
1814      *
1815      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1816      */
getConditionsOrBuilder(int index)1817     public com.google.cloud.compute.v1.ConditionOrBuilder getConditionsOrBuilder(int index) {
1818       if (conditionsBuilder_ == null) {
1819         return conditions_.get(index);
1820       } else {
1821         return conditionsBuilder_.getMessageOrBuilder(index);
1822       }
1823     }
1824     /**
1825      *
1826      *
1827      * <pre>
1828      * This is deprecated and has no effect. Do not use.
1829      * </pre>
1830      *
1831      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1832      */
1833     public java.util.List<? extends com.google.cloud.compute.v1.ConditionOrBuilder>
getConditionsOrBuilderList()1834         getConditionsOrBuilderList() {
1835       if (conditionsBuilder_ != null) {
1836         return conditionsBuilder_.getMessageOrBuilderList();
1837       } else {
1838         return java.util.Collections.unmodifiableList(conditions_);
1839       }
1840     }
1841     /**
1842      *
1843      *
1844      * <pre>
1845      * This is deprecated and has no effect. Do not use.
1846      * </pre>
1847      *
1848      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1849      */
addConditionsBuilder()1850     public com.google.cloud.compute.v1.Condition.Builder addConditionsBuilder() {
1851       return getConditionsFieldBuilder()
1852           .addBuilder(com.google.cloud.compute.v1.Condition.getDefaultInstance());
1853     }
1854     /**
1855      *
1856      *
1857      * <pre>
1858      * This is deprecated and has no effect. Do not use.
1859      * </pre>
1860      *
1861      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1862      */
addConditionsBuilder(int index)1863     public com.google.cloud.compute.v1.Condition.Builder addConditionsBuilder(int index) {
1864       return getConditionsFieldBuilder()
1865           .addBuilder(index, com.google.cloud.compute.v1.Condition.getDefaultInstance());
1866     }
1867     /**
1868      *
1869      *
1870      * <pre>
1871      * This is deprecated and has no effect. Do not use.
1872      * </pre>
1873      *
1874      * <code>repeated .google.cloud.compute.v1.Condition conditions = 142882488;</code>
1875      */
1876     public java.util.List<com.google.cloud.compute.v1.Condition.Builder>
getConditionsBuilderList()1877         getConditionsBuilderList() {
1878       return getConditionsFieldBuilder().getBuilderList();
1879     }
1880 
1881     private com.google.protobuf.RepeatedFieldBuilderV3<
1882             com.google.cloud.compute.v1.Condition,
1883             com.google.cloud.compute.v1.Condition.Builder,
1884             com.google.cloud.compute.v1.ConditionOrBuilder>
getConditionsFieldBuilder()1885         getConditionsFieldBuilder() {
1886       if (conditionsBuilder_ == null) {
1887         conditionsBuilder_ =
1888             new com.google.protobuf.RepeatedFieldBuilderV3<
1889                 com.google.cloud.compute.v1.Condition,
1890                 com.google.cloud.compute.v1.Condition.Builder,
1891                 com.google.cloud.compute.v1.ConditionOrBuilder>(
1892                 conditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
1893         conditions_ = null;
1894       }
1895       return conditionsBuilder_;
1896     }
1897 
1898     private java.lang.Object description_ = "";
1899     /**
1900      *
1901      *
1902      * <pre>
1903      * This is deprecated and has no effect. Do not use.
1904      * </pre>
1905      *
1906      * <code>optional string description = 422937596;</code>
1907      *
1908      * @return Whether the description field is set.
1909      */
hasDescription()1910     public boolean hasDescription() {
1911       return ((bitField0_ & 0x00000004) != 0);
1912     }
1913     /**
1914      *
1915      *
1916      * <pre>
1917      * This is deprecated and has no effect. Do not use.
1918      * </pre>
1919      *
1920      * <code>optional string description = 422937596;</code>
1921      *
1922      * @return The description.
1923      */
getDescription()1924     public java.lang.String getDescription() {
1925       java.lang.Object ref = description_;
1926       if (!(ref instanceof java.lang.String)) {
1927         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1928         java.lang.String s = bs.toStringUtf8();
1929         description_ = s;
1930         return s;
1931       } else {
1932         return (java.lang.String) ref;
1933       }
1934     }
1935     /**
1936      *
1937      *
1938      * <pre>
1939      * This is deprecated and has no effect. Do not use.
1940      * </pre>
1941      *
1942      * <code>optional string description = 422937596;</code>
1943      *
1944      * @return The bytes for description.
1945      */
getDescriptionBytes()1946     public com.google.protobuf.ByteString getDescriptionBytes() {
1947       java.lang.Object ref = description_;
1948       if (ref instanceof String) {
1949         com.google.protobuf.ByteString b =
1950             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1951         description_ = b;
1952         return b;
1953       } else {
1954         return (com.google.protobuf.ByteString) ref;
1955       }
1956     }
1957     /**
1958      *
1959      *
1960      * <pre>
1961      * This is deprecated and has no effect. Do not use.
1962      * </pre>
1963      *
1964      * <code>optional string description = 422937596;</code>
1965      *
1966      * @param value The description to set.
1967      * @return This builder for chaining.
1968      */
setDescription(java.lang.String value)1969     public Builder setDescription(java.lang.String value) {
1970       if (value == null) {
1971         throw new NullPointerException();
1972       }
1973       description_ = value;
1974       bitField0_ |= 0x00000004;
1975       onChanged();
1976       return this;
1977     }
1978     /**
1979      *
1980      *
1981      * <pre>
1982      * This is deprecated and has no effect. Do not use.
1983      * </pre>
1984      *
1985      * <code>optional string description = 422937596;</code>
1986      *
1987      * @return This builder for chaining.
1988      */
clearDescription()1989     public Builder clearDescription() {
1990       description_ = getDefaultInstance().getDescription();
1991       bitField0_ = (bitField0_ & ~0x00000004);
1992       onChanged();
1993       return this;
1994     }
1995     /**
1996      *
1997      *
1998      * <pre>
1999      * This is deprecated and has no effect. Do not use.
2000      * </pre>
2001      *
2002      * <code>optional string description = 422937596;</code>
2003      *
2004      * @param value The bytes for description to set.
2005      * @return This builder for chaining.
2006      */
setDescriptionBytes(com.google.protobuf.ByteString value)2007     public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
2008       if (value == null) {
2009         throw new NullPointerException();
2010       }
2011       checkByteStringIsUtf8(value);
2012       description_ = value;
2013       bitField0_ |= 0x00000004;
2014       onChanged();
2015       return this;
2016     }
2017 
2018     private com.google.protobuf.LazyStringList ins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2019 
ensureInsIsMutable()2020     private void ensureInsIsMutable() {
2021       if (!((bitField0_ & 0x00000008) != 0)) {
2022         ins_ = new com.google.protobuf.LazyStringArrayList(ins_);
2023         bitField0_ |= 0x00000008;
2024       }
2025     }
2026     /**
2027      *
2028      *
2029      * <pre>
2030      * This is deprecated and has no effect. Do not use.
2031      * </pre>
2032      *
2033      * <code>repeated string ins = 104430;</code>
2034      *
2035      * @return A list containing the ins.
2036      */
getInsList()2037     public com.google.protobuf.ProtocolStringList getInsList() {
2038       return ins_.getUnmodifiableView();
2039     }
2040     /**
2041      *
2042      *
2043      * <pre>
2044      * This is deprecated and has no effect. Do not use.
2045      * </pre>
2046      *
2047      * <code>repeated string ins = 104430;</code>
2048      *
2049      * @return The count of ins.
2050      */
getInsCount()2051     public int getInsCount() {
2052       return ins_.size();
2053     }
2054     /**
2055      *
2056      *
2057      * <pre>
2058      * This is deprecated and has no effect. Do not use.
2059      * </pre>
2060      *
2061      * <code>repeated string ins = 104430;</code>
2062      *
2063      * @param index The index of the element to return.
2064      * @return The ins at the given index.
2065      */
getIns(int index)2066     public java.lang.String getIns(int index) {
2067       return ins_.get(index);
2068     }
2069     /**
2070      *
2071      *
2072      * <pre>
2073      * This is deprecated and has no effect. Do not use.
2074      * </pre>
2075      *
2076      * <code>repeated string ins = 104430;</code>
2077      *
2078      * @param index The index of the value to return.
2079      * @return The bytes of the ins at the given index.
2080      */
getInsBytes(int index)2081     public com.google.protobuf.ByteString getInsBytes(int index) {
2082       return ins_.getByteString(index);
2083     }
2084     /**
2085      *
2086      *
2087      * <pre>
2088      * This is deprecated and has no effect. Do not use.
2089      * </pre>
2090      *
2091      * <code>repeated string ins = 104430;</code>
2092      *
2093      * @param index The index to set the value at.
2094      * @param value The ins to set.
2095      * @return This builder for chaining.
2096      */
setIns(int index, java.lang.String value)2097     public Builder setIns(int index, java.lang.String value) {
2098       if (value == null) {
2099         throw new NullPointerException();
2100       }
2101       ensureInsIsMutable();
2102       ins_.set(index, value);
2103       onChanged();
2104       return this;
2105     }
2106     /**
2107      *
2108      *
2109      * <pre>
2110      * This is deprecated and has no effect. Do not use.
2111      * </pre>
2112      *
2113      * <code>repeated string ins = 104430;</code>
2114      *
2115      * @param value The ins to add.
2116      * @return This builder for chaining.
2117      */
addIns(java.lang.String value)2118     public Builder addIns(java.lang.String value) {
2119       if (value == null) {
2120         throw new NullPointerException();
2121       }
2122       ensureInsIsMutable();
2123       ins_.add(value);
2124       onChanged();
2125       return this;
2126     }
2127     /**
2128      *
2129      *
2130      * <pre>
2131      * This is deprecated and has no effect. Do not use.
2132      * </pre>
2133      *
2134      * <code>repeated string ins = 104430;</code>
2135      *
2136      * @param values The ins to add.
2137      * @return This builder for chaining.
2138      */
addAllIns(java.lang.Iterable<java.lang.String> values)2139     public Builder addAllIns(java.lang.Iterable<java.lang.String> values) {
2140       ensureInsIsMutable();
2141       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ins_);
2142       onChanged();
2143       return this;
2144     }
2145     /**
2146      *
2147      *
2148      * <pre>
2149      * This is deprecated and has no effect. Do not use.
2150      * </pre>
2151      *
2152      * <code>repeated string ins = 104430;</code>
2153      *
2154      * @return This builder for chaining.
2155      */
clearIns()2156     public Builder clearIns() {
2157       ins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2158       bitField0_ = (bitField0_ & ~0x00000008);
2159       onChanged();
2160       return this;
2161     }
2162     /**
2163      *
2164      *
2165      * <pre>
2166      * This is deprecated and has no effect. Do not use.
2167      * </pre>
2168      *
2169      * <code>repeated string ins = 104430;</code>
2170      *
2171      * @param value The bytes of the ins to add.
2172      * @return This builder for chaining.
2173      */
addInsBytes(com.google.protobuf.ByteString value)2174     public Builder addInsBytes(com.google.protobuf.ByteString value) {
2175       if (value == null) {
2176         throw new NullPointerException();
2177       }
2178       checkByteStringIsUtf8(value);
2179       ensureInsIsMutable();
2180       ins_.add(value);
2181       onChanged();
2182       return this;
2183     }
2184 
2185     private java.util.List<com.google.cloud.compute.v1.LogConfig> logConfigs_ =
2186         java.util.Collections.emptyList();
2187 
ensureLogConfigsIsMutable()2188     private void ensureLogConfigsIsMutable() {
2189       if (!((bitField0_ & 0x00000010) != 0)) {
2190         logConfigs_ = new java.util.ArrayList<com.google.cloud.compute.v1.LogConfig>(logConfigs_);
2191         bitField0_ |= 0x00000010;
2192       }
2193     }
2194 
2195     private com.google.protobuf.RepeatedFieldBuilderV3<
2196             com.google.cloud.compute.v1.LogConfig,
2197             com.google.cloud.compute.v1.LogConfig.Builder,
2198             com.google.cloud.compute.v1.LogConfigOrBuilder>
2199         logConfigsBuilder_;
2200 
2201     /**
2202      *
2203      *
2204      * <pre>
2205      * This is deprecated and has no effect. Do not use.
2206      * </pre>
2207      *
2208      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2209      */
getLogConfigsList()2210     public java.util.List<com.google.cloud.compute.v1.LogConfig> getLogConfigsList() {
2211       if (logConfigsBuilder_ == null) {
2212         return java.util.Collections.unmodifiableList(logConfigs_);
2213       } else {
2214         return logConfigsBuilder_.getMessageList();
2215       }
2216     }
2217     /**
2218      *
2219      *
2220      * <pre>
2221      * This is deprecated and has no effect. Do not use.
2222      * </pre>
2223      *
2224      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2225      */
getLogConfigsCount()2226     public int getLogConfigsCount() {
2227       if (logConfigsBuilder_ == null) {
2228         return logConfigs_.size();
2229       } else {
2230         return logConfigsBuilder_.getCount();
2231       }
2232     }
2233     /**
2234      *
2235      *
2236      * <pre>
2237      * This is deprecated and has no effect. Do not use.
2238      * </pre>
2239      *
2240      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2241      */
getLogConfigs(int index)2242     public com.google.cloud.compute.v1.LogConfig getLogConfigs(int index) {
2243       if (logConfigsBuilder_ == null) {
2244         return logConfigs_.get(index);
2245       } else {
2246         return logConfigsBuilder_.getMessage(index);
2247       }
2248     }
2249     /**
2250      *
2251      *
2252      * <pre>
2253      * This is deprecated and has no effect. Do not use.
2254      * </pre>
2255      *
2256      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2257      */
setLogConfigs(int index, com.google.cloud.compute.v1.LogConfig value)2258     public Builder setLogConfigs(int index, com.google.cloud.compute.v1.LogConfig value) {
2259       if (logConfigsBuilder_ == null) {
2260         if (value == null) {
2261           throw new NullPointerException();
2262         }
2263         ensureLogConfigsIsMutable();
2264         logConfigs_.set(index, value);
2265         onChanged();
2266       } else {
2267         logConfigsBuilder_.setMessage(index, value);
2268       }
2269       return this;
2270     }
2271     /**
2272      *
2273      *
2274      * <pre>
2275      * This is deprecated and has no effect. Do not use.
2276      * </pre>
2277      *
2278      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2279      */
setLogConfigs( int index, com.google.cloud.compute.v1.LogConfig.Builder builderForValue)2280     public Builder setLogConfigs(
2281         int index, com.google.cloud.compute.v1.LogConfig.Builder builderForValue) {
2282       if (logConfigsBuilder_ == null) {
2283         ensureLogConfigsIsMutable();
2284         logConfigs_.set(index, builderForValue.build());
2285         onChanged();
2286       } else {
2287         logConfigsBuilder_.setMessage(index, builderForValue.build());
2288       }
2289       return this;
2290     }
2291     /**
2292      *
2293      *
2294      * <pre>
2295      * This is deprecated and has no effect. Do not use.
2296      * </pre>
2297      *
2298      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2299      */
addLogConfigs(com.google.cloud.compute.v1.LogConfig value)2300     public Builder addLogConfigs(com.google.cloud.compute.v1.LogConfig value) {
2301       if (logConfigsBuilder_ == null) {
2302         if (value == null) {
2303           throw new NullPointerException();
2304         }
2305         ensureLogConfigsIsMutable();
2306         logConfigs_.add(value);
2307         onChanged();
2308       } else {
2309         logConfigsBuilder_.addMessage(value);
2310       }
2311       return this;
2312     }
2313     /**
2314      *
2315      *
2316      * <pre>
2317      * This is deprecated and has no effect. Do not use.
2318      * </pre>
2319      *
2320      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2321      */
addLogConfigs(int index, com.google.cloud.compute.v1.LogConfig value)2322     public Builder addLogConfigs(int index, com.google.cloud.compute.v1.LogConfig value) {
2323       if (logConfigsBuilder_ == null) {
2324         if (value == null) {
2325           throw new NullPointerException();
2326         }
2327         ensureLogConfigsIsMutable();
2328         logConfigs_.add(index, value);
2329         onChanged();
2330       } else {
2331         logConfigsBuilder_.addMessage(index, value);
2332       }
2333       return this;
2334     }
2335     /**
2336      *
2337      *
2338      * <pre>
2339      * This is deprecated and has no effect. Do not use.
2340      * </pre>
2341      *
2342      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2343      */
addLogConfigs(com.google.cloud.compute.v1.LogConfig.Builder builderForValue)2344     public Builder addLogConfigs(com.google.cloud.compute.v1.LogConfig.Builder builderForValue) {
2345       if (logConfigsBuilder_ == null) {
2346         ensureLogConfigsIsMutable();
2347         logConfigs_.add(builderForValue.build());
2348         onChanged();
2349       } else {
2350         logConfigsBuilder_.addMessage(builderForValue.build());
2351       }
2352       return this;
2353     }
2354     /**
2355      *
2356      *
2357      * <pre>
2358      * This is deprecated and has no effect. Do not use.
2359      * </pre>
2360      *
2361      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2362      */
addLogConfigs( int index, com.google.cloud.compute.v1.LogConfig.Builder builderForValue)2363     public Builder addLogConfigs(
2364         int index, com.google.cloud.compute.v1.LogConfig.Builder builderForValue) {
2365       if (logConfigsBuilder_ == null) {
2366         ensureLogConfigsIsMutable();
2367         logConfigs_.add(index, builderForValue.build());
2368         onChanged();
2369       } else {
2370         logConfigsBuilder_.addMessage(index, builderForValue.build());
2371       }
2372       return this;
2373     }
2374     /**
2375      *
2376      *
2377      * <pre>
2378      * This is deprecated and has no effect. Do not use.
2379      * </pre>
2380      *
2381      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2382      */
addAllLogConfigs( java.lang.Iterable<? extends com.google.cloud.compute.v1.LogConfig> values)2383     public Builder addAllLogConfigs(
2384         java.lang.Iterable<? extends com.google.cloud.compute.v1.LogConfig> values) {
2385       if (logConfigsBuilder_ == null) {
2386         ensureLogConfigsIsMutable();
2387         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logConfigs_);
2388         onChanged();
2389       } else {
2390         logConfigsBuilder_.addAllMessages(values);
2391       }
2392       return this;
2393     }
2394     /**
2395      *
2396      *
2397      * <pre>
2398      * This is deprecated and has no effect. Do not use.
2399      * </pre>
2400      *
2401      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2402      */
clearLogConfigs()2403     public Builder clearLogConfigs() {
2404       if (logConfigsBuilder_ == null) {
2405         logConfigs_ = java.util.Collections.emptyList();
2406         bitField0_ = (bitField0_ & ~0x00000010);
2407         onChanged();
2408       } else {
2409         logConfigsBuilder_.clear();
2410       }
2411       return this;
2412     }
2413     /**
2414      *
2415      *
2416      * <pre>
2417      * This is deprecated and has no effect. Do not use.
2418      * </pre>
2419      *
2420      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2421      */
removeLogConfigs(int index)2422     public Builder removeLogConfigs(int index) {
2423       if (logConfigsBuilder_ == null) {
2424         ensureLogConfigsIsMutable();
2425         logConfigs_.remove(index);
2426         onChanged();
2427       } else {
2428         logConfigsBuilder_.remove(index);
2429       }
2430       return this;
2431     }
2432     /**
2433      *
2434      *
2435      * <pre>
2436      * This is deprecated and has no effect. Do not use.
2437      * </pre>
2438      *
2439      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2440      */
getLogConfigsBuilder(int index)2441     public com.google.cloud.compute.v1.LogConfig.Builder getLogConfigsBuilder(int index) {
2442       return getLogConfigsFieldBuilder().getBuilder(index);
2443     }
2444     /**
2445      *
2446      *
2447      * <pre>
2448      * This is deprecated and has no effect. Do not use.
2449      * </pre>
2450      *
2451      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2452      */
getLogConfigsOrBuilder(int index)2453     public com.google.cloud.compute.v1.LogConfigOrBuilder getLogConfigsOrBuilder(int index) {
2454       if (logConfigsBuilder_ == null) {
2455         return logConfigs_.get(index);
2456       } else {
2457         return logConfigsBuilder_.getMessageOrBuilder(index);
2458       }
2459     }
2460     /**
2461      *
2462      *
2463      * <pre>
2464      * This is deprecated and has no effect. Do not use.
2465      * </pre>
2466      *
2467      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2468      */
2469     public java.util.List<? extends com.google.cloud.compute.v1.LogConfigOrBuilder>
getLogConfigsOrBuilderList()2470         getLogConfigsOrBuilderList() {
2471       if (logConfigsBuilder_ != null) {
2472         return logConfigsBuilder_.getMessageOrBuilderList();
2473       } else {
2474         return java.util.Collections.unmodifiableList(logConfigs_);
2475       }
2476     }
2477     /**
2478      *
2479      *
2480      * <pre>
2481      * This is deprecated and has no effect. Do not use.
2482      * </pre>
2483      *
2484      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2485      */
addLogConfigsBuilder()2486     public com.google.cloud.compute.v1.LogConfig.Builder addLogConfigsBuilder() {
2487       return getLogConfigsFieldBuilder()
2488           .addBuilder(com.google.cloud.compute.v1.LogConfig.getDefaultInstance());
2489     }
2490     /**
2491      *
2492      *
2493      * <pre>
2494      * This is deprecated and has no effect. Do not use.
2495      * </pre>
2496      *
2497      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2498      */
addLogConfigsBuilder(int index)2499     public com.google.cloud.compute.v1.LogConfig.Builder addLogConfigsBuilder(int index) {
2500       return getLogConfigsFieldBuilder()
2501           .addBuilder(index, com.google.cloud.compute.v1.LogConfig.getDefaultInstance());
2502     }
2503     /**
2504      *
2505      *
2506      * <pre>
2507      * This is deprecated and has no effect. Do not use.
2508      * </pre>
2509      *
2510      * <code>repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;</code>
2511      */
2512     public java.util.List<com.google.cloud.compute.v1.LogConfig.Builder>
getLogConfigsBuilderList()2513         getLogConfigsBuilderList() {
2514       return getLogConfigsFieldBuilder().getBuilderList();
2515     }
2516 
2517     private com.google.protobuf.RepeatedFieldBuilderV3<
2518             com.google.cloud.compute.v1.LogConfig,
2519             com.google.cloud.compute.v1.LogConfig.Builder,
2520             com.google.cloud.compute.v1.LogConfigOrBuilder>
getLogConfigsFieldBuilder()2521         getLogConfigsFieldBuilder() {
2522       if (logConfigsBuilder_ == null) {
2523         logConfigsBuilder_ =
2524             new com.google.protobuf.RepeatedFieldBuilderV3<
2525                 com.google.cloud.compute.v1.LogConfig,
2526                 com.google.cloud.compute.v1.LogConfig.Builder,
2527                 com.google.cloud.compute.v1.LogConfigOrBuilder>(
2528                 logConfigs_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
2529         logConfigs_ = null;
2530       }
2531       return logConfigsBuilder_;
2532     }
2533 
2534     private com.google.protobuf.LazyStringList notIns_ =
2535         com.google.protobuf.LazyStringArrayList.EMPTY;
2536 
ensureNotInsIsMutable()2537     private void ensureNotInsIsMutable() {
2538       if (!((bitField0_ & 0x00000020) != 0)) {
2539         notIns_ = new com.google.protobuf.LazyStringArrayList(notIns_);
2540         bitField0_ |= 0x00000020;
2541       }
2542     }
2543     /**
2544      *
2545      *
2546      * <pre>
2547      * This is deprecated and has no effect. Do not use.
2548      * </pre>
2549      *
2550      * <code>repeated string not_ins = 518443138;</code>
2551      *
2552      * @return A list containing the notIns.
2553      */
getNotInsList()2554     public com.google.protobuf.ProtocolStringList getNotInsList() {
2555       return notIns_.getUnmodifiableView();
2556     }
2557     /**
2558      *
2559      *
2560      * <pre>
2561      * This is deprecated and has no effect. Do not use.
2562      * </pre>
2563      *
2564      * <code>repeated string not_ins = 518443138;</code>
2565      *
2566      * @return The count of notIns.
2567      */
getNotInsCount()2568     public int getNotInsCount() {
2569       return notIns_.size();
2570     }
2571     /**
2572      *
2573      *
2574      * <pre>
2575      * This is deprecated and has no effect. Do not use.
2576      * </pre>
2577      *
2578      * <code>repeated string not_ins = 518443138;</code>
2579      *
2580      * @param index The index of the element to return.
2581      * @return The notIns at the given index.
2582      */
getNotIns(int index)2583     public java.lang.String getNotIns(int index) {
2584       return notIns_.get(index);
2585     }
2586     /**
2587      *
2588      *
2589      * <pre>
2590      * This is deprecated and has no effect. Do not use.
2591      * </pre>
2592      *
2593      * <code>repeated string not_ins = 518443138;</code>
2594      *
2595      * @param index The index of the value to return.
2596      * @return The bytes of the notIns at the given index.
2597      */
getNotInsBytes(int index)2598     public com.google.protobuf.ByteString getNotInsBytes(int index) {
2599       return notIns_.getByteString(index);
2600     }
2601     /**
2602      *
2603      *
2604      * <pre>
2605      * This is deprecated and has no effect. Do not use.
2606      * </pre>
2607      *
2608      * <code>repeated string not_ins = 518443138;</code>
2609      *
2610      * @param index The index to set the value at.
2611      * @param value The notIns to set.
2612      * @return This builder for chaining.
2613      */
setNotIns(int index, java.lang.String value)2614     public Builder setNotIns(int index, java.lang.String value) {
2615       if (value == null) {
2616         throw new NullPointerException();
2617       }
2618       ensureNotInsIsMutable();
2619       notIns_.set(index, value);
2620       onChanged();
2621       return this;
2622     }
2623     /**
2624      *
2625      *
2626      * <pre>
2627      * This is deprecated and has no effect. Do not use.
2628      * </pre>
2629      *
2630      * <code>repeated string not_ins = 518443138;</code>
2631      *
2632      * @param value The notIns to add.
2633      * @return This builder for chaining.
2634      */
addNotIns(java.lang.String value)2635     public Builder addNotIns(java.lang.String value) {
2636       if (value == null) {
2637         throw new NullPointerException();
2638       }
2639       ensureNotInsIsMutable();
2640       notIns_.add(value);
2641       onChanged();
2642       return this;
2643     }
2644     /**
2645      *
2646      *
2647      * <pre>
2648      * This is deprecated and has no effect. Do not use.
2649      * </pre>
2650      *
2651      * <code>repeated string not_ins = 518443138;</code>
2652      *
2653      * @param values The notIns to add.
2654      * @return This builder for chaining.
2655      */
addAllNotIns(java.lang.Iterable<java.lang.String> values)2656     public Builder addAllNotIns(java.lang.Iterable<java.lang.String> values) {
2657       ensureNotInsIsMutable();
2658       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, notIns_);
2659       onChanged();
2660       return this;
2661     }
2662     /**
2663      *
2664      *
2665      * <pre>
2666      * This is deprecated and has no effect. Do not use.
2667      * </pre>
2668      *
2669      * <code>repeated string not_ins = 518443138;</code>
2670      *
2671      * @return This builder for chaining.
2672      */
clearNotIns()2673     public Builder clearNotIns() {
2674       notIns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2675       bitField0_ = (bitField0_ & ~0x00000020);
2676       onChanged();
2677       return this;
2678     }
2679     /**
2680      *
2681      *
2682      * <pre>
2683      * This is deprecated and has no effect. Do not use.
2684      * </pre>
2685      *
2686      * <code>repeated string not_ins = 518443138;</code>
2687      *
2688      * @param value The bytes of the notIns to add.
2689      * @return This builder for chaining.
2690      */
addNotInsBytes(com.google.protobuf.ByteString value)2691     public Builder addNotInsBytes(com.google.protobuf.ByteString value) {
2692       if (value == null) {
2693         throw new NullPointerException();
2694       }
2695       checkByteStringIsUtf8(value);
2696       ensureNotInsIsMutable();
2697       notIns_.add(value);
2698       onChanged();
2699       return this;
2700     }
2701 
2702     private com.google.protobuf.LazyStringList permissions_ =
2703         com.google.protobuf.LazyStringArrayList.EMPTY;
2704 
ensurePermissionsIsMutable()2705     private void ensurePermissionsIsMutable() {
2706       if (!((bitField0_ & 0x00000040) != 0)) {
2707         permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_);
2708         bitField0_ |= 0x00000040;
2709       }
2710     }
2711     /**
2712      *
2713      *
2714      * <pre>
2715      * This is deprecated and has no effect. Do not use.
2716      * </pre>
2717      *
2718      * <code>repeated string permissions = 59962500;</code>
2719      *
2720      * @return A list containing the permissions.
2721      */
getPermissionsList()2722     public com.google.protobuf.ProtocolStringList getPermissionsList() {
2723       return permissions_.getUnmodifiableView();
2724     }
2725     /**
2726      *
2727      *
2728      * <pre>
2729      * This is deprecated and has no effect. Do not use.
2730      * </pre>
2731      *
2732      * <code>repeated string permissions = 59962500;</code>
2733      *
2734      * @return The count of permissions.
2735      */
getPermissionsCount()2736     public int getPermissionsCount() {
2737       return permissions_.size();
2738     }
2739     /**
2740      *
2741      *
2742      * <pre>
2743      * This is deprecated and has no effect. Do not use.
2744      * </pre>
2745      *
2746      * <code>repeated string permissions = 59962500;</code>
2747      *
2748      * @param index The index of the element to return.
2749      * @return The permissions at the given index.
2750      */
getPermissions(int index)2751     public java.lang.String getPermissions(int index) {
2752       return permissions_.get(index);
2753     }
2754     /**
2755      *
2756      *
2757      * <pre>
2758      * This is deprecated and has no effect. Do not use.
2759      * </pre>
2760      *
2761      * <code>repeated string permissions = 59962500;</code>
2762      *
2763      * @param index The index of the value to return.
2764      * @return The bytes of the permissions at the given index.
2765      */
getPermissionsBytes(int index)2766     public com.google.protobuf.ByteString getPermissionsBytes(int index) {
2767       return permissions_.getByteString(index);
2768     }
2769     /**
2770      *
2771      *
2772      * <pre>
2773      * This is deprecated and has no effect. Do not use.
2774      * </pre>
2775      *
2776      * <code>repeated string permissions = 59962500;</code>
2777      *
2778      * @param index The index to set the value at.
2779      * @param value The permissions to set.
2780      * @return This builder for chaining.
2781      */
setPermissions(int index, java.lang.String value)2782     public Builder setPermissions(int index, java.lang.String value) {
2783       if (value == null) {
2784         throw new NullPointerException();
2785       }
2786       ensurePermissionsIsMutable();
2787       permissions_.set(index, value);
2788       onChanged();
2789       return this;
2790     }
2791     /**
2792      *
2793      *
2794      * <pre>
2795      * This is deprecated and has no effect. Do not use.
2796      * </pre>
2797      *
2798      * <code>repeated string permissions = 59962500;</code>
2799      *
2800      * @param value The permissions to add.
2801      * @return This builder for chaining.
2802      */
addPermissions(java.lang.String value)2803     public Builder addPermissions(java.lang.String value) {
2804       if (value == null) {
2805         throw new NullPointerException();
2806       }
2807       ensurePermissionsIsMutable();
2808       permissions_.add(value);
2809       onChanged();
2810       return this;
2811     }
2812     /**
2813      *
2814      *
2815      * <pre>
2816      * This is deprecated and has no effect. Do not use.
2817      * </pre>
2818      *
2819      * <code>repeated string permissions = 59962500;</code>
2820      *
2821      * @param values The permissions to add.
2822      * @return This builder for chaining.
2823      */
addAllPermissions(java.lang.Iterable<java.lang.String> values)2824     public Builder addAllPermissions(java.lang.Iterable<java.lang.String> values) {
2825       ensurePermissionsIsMutable();
2826       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_);
2827       onChanged();
2828       return this;
2829     }
2830     /**
2831      *
2832      *
2833      * <pre>
2834      * This is deprecated and has no effect. Do not use.
2835      * </pre>
2836      *
2837      * <code>repeated string permissions = 59962500;</code>
2838      *
2839      * @return This builder for chaining.
2840      */
clearPermissions()2841     public Builder clearPermissions() {
2842       permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2843       bitField0_ = (bitField0_ & ~0x00000040);
2844       onChanged();
2845       return this;
2846     }
2847     /**
2848      *
2849      *
2850      * <pre>
2851      * This is deprecated and has no effect. Do not use.
2852      * </pre>
2853      *
2854      * <code>repeated string permissions = 59962500;</code>
2855      *
2856      * @param value The bytes of the permissions to add.
2857      * @return This builder for chaining.
2858      */
addPermissionsBytes(com.google.protobuf.ByteString value)2859     public Builder addPermissionsBytes(com.google.protobuf.ByteString value) {
2860       if (value == null) {
2861         throw new NullPointerException();
2862       }
2863       checkByteStringIsUtf8(value);
2864       ensurePermissionsIsMutable();
2865       permissions_.add(value);
2866       onChanged();
2867       return this;
2868     }
2869 
2870     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)2871     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
2872       return super.setUnknownFields(unknownFields);
2873     }
2874 
2875     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2876     public final Builder mergeUnknownFields(
2877         final com.google.protobuf.UnknownFieldSet unknownFields) {
2878       return super.mergeUnknownFields(unknownFields);
2879     }
2880 
2881     // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.Rule)
2882   }
2883 
2884   // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.Rule)
2885   private static final com.google.cloud.compute.v1.Rule DEFAULT_INSTANCE;
2886 
2887   static {
2888     DEFAULT_INSTANCE = new com.google.cloud.compute.v1.Rule();
2889   }
2890 
getDefaultInstance()2891   public static com.google.cloud.compute.v1.Rule getDefaultInstance() {
2892     return DEFAULT_INSTANCE;
2893   }
2894 
2895   private static final com.google.protobuf.Parser<Rule> PARSER =
2896       new com.google.protobuf.AbstractParser<Rule>() {
2897         @java.lang.Override
2898         public Rule parsePartialFrom(
2899             com.google.protobuf.CodedInputStream input,
2900             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2901             throws com.google.protobuf.InvalidProtocolBufferException {
2902           Builder builder = newBuilder();
2903           try {
2904             builder.mergeFrom(input, extensionRegistry);
2905           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2906             throw e.setUnfinishedMessage(builder.buildPartial());
2907           } catch (com.google.protobuf.UninitializedMessageException e) {
2908             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2909           } catch (java.io.IOException e) {
2910             throw new com.google.protobuf.InvalidProtocolBufferException(e)
2911                 .setUnfinishedMessage(builder.buildPartial());
2912           }
2913           return builder.buildPartial();
2914         }
2915       };
2916 
parser()2917   public static com.google.protobuf.Parser<Rule> parser() {
2918     return PARSER;
2919   }
2920 
2921   @java.lang.Override
getParserForType()2922   public com.google.protobuf.Parser<Rule> getParserForType() {
2923     return PARSER;
2924   }
2925 
2926   @java.lang.Override
getDefaultInstanceForType()2927   public com.google.cloud.compute.v1.Rule getDefaultInstanceForType() {
2928     return DEFAULT_INSTANCE;
2929   }
2930 }
2931