• 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/container/v1/cluster_service.proto
18 
19 package com.google.container.v1;
20 
21 /**
22  *
23  *
24  * <pre>
25  * A set of Shielded Instance options.
26  * </pre>
27  *
28  * Protobuf type {@code google.container.v1.ShieldedInstanceConfig}
29  */
30 public final class ShieldedInstanceConfig extends com.google.protobuf.GeneratedMessageV3
31     implements
32     // @@protoc_insertion_point(message_implements:google.container.v1.ShieldedInstanceConfig)
33     ShieldedInstanceConfigOrBuilder {
34   private static final long serialVersionUID = 0L;
35   // Use ShieldedInstanceConfig.newBuilder() to construct.
ShieldedInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36   private ShieldedInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
37     super(builder);
38   }
39 
ShieldedInstanceConfig()40   private ShieldedInstanceConfig() {}
41 
42   @java.lang.Override
43   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)44   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
45     return new ShieldedInstanceConfig();
46   }
47 
48   @java.lang.Override
getUnknownFields()49   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
50     return this.unknownFields;
51   }
52 
getDescriptor()53   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
54     return com.google.container.v1.ClusterServiceProto
55         .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor;
56   }
57 
58   @java.lang.Override
59   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()60       internalGetFieldAccessorTable() {
61     return com.google.container.v1.ClusterServiceProto
62         .internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable
63         .ensureFieldAccessorsInitialized(
64             com.google.container.v1.ShieldedInstanceConfig.class,
65             com.google.container.v1.ShieldedInstanceConfig.Builder.class);
66   }
67 
68   public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER = 1;
69   private boolean enableSecureBoot_ = false;
70   /**
71    *
72    *
73    * <pre>
74    * Defines whether the instance has Secure Boot enabled.
75    * Secure Boot helps ensure that the system only runs authentic software by
76    * verifying the digital signature of all boot components, and halting the
77    * boot process if signature verification fails.
78    * </pre>
79    *
80    * <code>bool enable_secure_boot = 1;</code>
81    *
82    * @return The enableSecureBoot.
83    */
84   @java.lang.Override
getEnableSecureBoot()85   public boolean getEnableSecureBoot() {
86     return enableSecureBoot_;
87   }
88 
89   public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER = 2;
90   private boolean enableIntegrityMonitoring_ = false;
91   /**
92    *
93    *
94    * <pre>
95    * Defines whether the instance has integrity monitoring enabled.
96    * Enables monitoring and attestation of the boot integrity of the instance.
97    * The attestation is performed against the integrity policy baseline. This
98    * baseline is initially derived from the implicitly trusted boot image when
99    * the instance is created.
100    * </pre>
101    *
102    * <code>bool enable_integrity_monitoring = 2;</code>
103    *
104    * @return The enableIntegrityMonitoring.
105    */
106   @java.lang.Override
getEnableIntegrityMonitoring()107   public boolean getEnableIntegrityMonitoring() {
108     return enableIntegrityMonitoring_;
109   }
110 
111   private byte memoizedIsInitialized = -1;
112 
113   @java.lang.Override
isInitialized()114   public final boolean isInitialized() {
115     byte isInitialized = memoizedIsInitialized;
116     if (isInitialized == 1) return true;
117     if (isInitialized == 0) return false;
118 
119     memoizedIsInitialized = 1;
120     return true;
121   }
122 
123   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)124   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
125     if (enableSecureBoot_ != false) {
126       output.writeBool(1, enableSecureBoot_);
127     }
128     if (enableIntegrityMonitoring_ != false) {
129       output.writeBool(2, enableIntegrityMonitoring_);
130     }
131     getUnknownFields().writeTo(output);
132   }
133 
134   @java.lang.Override
getSerializedSize()135   public int getSerializedSize() {
136     int size = memoizedSize;
137     if (size != -1) return size;
138 
139     size = 0;
140     if (enableSecureBoot_ != false) {
141       size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableSecureBoot_);
142     }
143     if (enableIntegrityMonitoring_ != false) {
144       size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableIntegrityMonitoring_);
145     }
146     size += getUnknownFields().getSerializedSize();
147     memoizedSize = size;
148     return size;
149   }
150 
151   @java.lang.Override
equals(final java.lang.Object obj)152   public boolean equals(final java.lang.Object obj) {
153     if (obj == this) {
154       return true;
155     }
156     if (!(obj instanceof com.google.container.v1.ShieldedInstanceConfig)) {
157       return super.equals(obj);
158     }
159     com.google.container.v1.ShieldedInstanceConfig other =
160         (com.google.container.v1.ShieldedInstanceConfig) obj;
161 
162     if (getEnableSecureBoot() != other.getEnableSecureBoot()) return false;
163     if (getEnableIntegrityMonitoring() != other.getEnableIntegrityMonitoring()) return false;
164     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
165     return true;
166   }
167 
168   @java.lang.Override
hashCode()169   public int hashCode() {
170     if (memoizedHashCode != 0) {
171       return memoizedHashCode;
172     }
173     int hash = 41;
174     hash = (19 * hash) + getDescriptor().hashCode();
175     hash = (37 * hash) + ENABLE_SECURE_BOOT_FIELD_NUMBER;
176     hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSecureBoot());
177     hash = (37 * hash) + ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER;
178     hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntegrityMonitoring());
179     hash = (29 * hash) + getUnknownFields().hashCode();
180     memoizedHashCode = hash;
181     return hash;
182   }
183 
parseFrom(java.nio.ByteBuffer data)184   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(java.nio.ByteBuffer data)
185       throws com.google.protobuf.InvalidProtocolBufferException {
186     return PARSER.parseFrom(data);
187   }
188 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)189   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
190       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
191       throws com.google.protobuf.InvalidProtocolBufferException {
192     return PARSER.parseFrom(data, extensionRegistry);
193   }
194 
parseFrom( com.google.protobuf.ByteString data)195   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
196       com.google.protobuf.ByteString data)
197       throws com.google.protobuf.InvalidProtocolBufferException {
198     return PARSER.parseFrom(data);
199   }
200 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)201   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
202       com.google.protobuf.ByteString data,
203       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
204       throws com.google.protobuf.InvalidProtocolBufferException {
205     return PARSER.parseFrom(data, extensionRegistry);
206   }
207 
parseFrom(byte[] data)208   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(byte[] data)
209       throws com.google.protobuf.InvalidProtocolBufferException {
210     return PARSER.parseFrom(data);
211   }
212 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)213   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
214       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
215       throws com.google.protobuf.InvalidProtocolBufferException {
216     return PARSER.parseFrom(data, extensionRegistry);
217   }
218 
parseFrom(java.io.InputStream input)219   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(java.io.InputStream input)
220       throws java.io.IOException {
221     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
222   }
223 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)224   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
225       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
226       throws java.io.IOException {
227     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
228         PARSER, input, extensionRegistry);
229   }
230 
parseDelimitedFrom( java.io.InputStream input)231   public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom(
232       java.io.InputStream input) throws java.io.IOException {
233     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
234   }
235 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)236   public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom(
237       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
238       throws java.io.IOException {
239     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
240         PARSER, input, extensionRegistry);
241   }
242 
parseFrom( com.google.protobuf.CodedInputStream input)243   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
244       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
245     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
246   }
247 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)248   public static com.google.container.v1.ShieldedInstanceConfig parseFrom(
249       com.google.protobuf.CodedInputStream input,
250       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
251       throws java.io.IOException {
252     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
253         PARSER, input, extensionRegistry);
254   }
255 
256   @java.lang.Override
newBuilderForType()257   public Builder newBuilderForType() {
258     return newBuilder();
259   }
260 
newBuilder()261   public static Builder newBuilder() {
262     return DEFAULT_INSTANCE.toBuilder();
263   }
264 
newBuilder(com.google.container.v1.ShieldedInstanceConfig prototype)265   public static Builder newBuilder(com.google.container.v1.ShieldedInstanceConfig prototype) {
266     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
267   }
268 
269   @java.lang.Override
toBuilder()270   public Builder toBuilder() {
271     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
272   }
273 
274   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)275   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
276     Builder builder = new Builder(parent);
277     return builder;
278   }
279   /**
280    *
281    *
282    * <pre>
283    * A set of Shielded Instance options.
284    * </pre>
285    *
286    * Protobuf type {@code google.container.v1.ShieldedInstanceConfig}
287    */
288   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
289       implements
290       // @@protoc_insertion_point(builder_implements:google.container.v1.ShieldedInstanceConfig)
291       com.google.container.v1.ShieldedInstanceConfigOrBuilder {
getDescriptor()292     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
293       return com.google.container.v1.ClusterServiceProto
294           .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor;
295     }
296 
297     @java.lang.Override
298     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()299         internalGetFieldAccessorTable() {
300       return com.google.container.v1.ClusterServiceProto
301           .internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable
302           .ensureFieldAccessorsInitialized(
303               com.google.container.v1.ShieldedInstanceConfig.class,
304               com.google.container.v1.ShieldedInstanceConfig.Builder.class);
305     }
306 
307     // Construct using com.google.container.v1.ShieldedInstanceConfig.newBuilder()
Builder()308     private Builder() {}
309 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)310     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
311       super(parent);
312     }
313 
314     @java.lang.Override
clear()315     public Builder clear() {
316       super.clear();
317       bitField0_ = 0;
318       enableSecureBoot_ = false;
319       enableIntegrityMonitoring_ = false;
320       return this;
321     }
322 
323     @java.lang.Override
getDescriptorForType()324     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
325       return com.google.container.v1.ClusterServiceProto
326           .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor;
327     }
328 
329     @java.lang.Override
getDefaultInstanceForType()330     public com.google.container.v1.ShieldedInstanceConfig getDefaultInstanceForType() {
331       return com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance();
332     }
333 
334     @java.lang.Override
build()335     public com.google.container.v1.ShieldedInstanceConfig build() {
336       com.google.container.v1.ShieldedInstanceConfig result = buildPartial();
337       if (!result.isInitialized()) {
338         throw newUninitializedMessageException(result);
339       }
340       return result;
341     }
342 
343     @java.lang.Override
buildPartial()344     public com.google.container.v1.ShieldedInstanceConfig buildPartial() {
345       com.google.container.v1.ShieldedInstanceConfig result =
346           new com.google.container.v1.ShieldedInstanceConfig(this);
347       if (bitField0_ != 0) {
348         buildPartial0(result);
349       }
350       onBuilt();
351       return result;
352     }
353 
buildPartial0(com.google.container.v1.ShieldedInstanceConfig result)354     private void buildPartial0(com.google.container.v1.ShieldedInstanceConfig result) {
355       int from_bitField0_ = bitField0_;
356       if (((from_bitField0_ & 0x00000001) != 0)) {
357         result.enableSecureBoot_ = enableSecureBoot_;
358       }
359       if (((from_bitField0_ & 0x00000002) != 0)) {
360         result.enableIntegrityMonitoring_ = enableIntegrityMonitoring_;
361       }
362     }
363 
364     @java.lang.Override
clone()365     public Builder clone() {
366       return super.clone();
367     }
368 
369     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)370     public Builder setField(
371         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
372       return super.setField(field, value);
373     }
374 
375     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)376     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
377       return super.clearField(field);
378     }
379 
380     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)381     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
382       return super.clearOneof(oneof);
383     }
384 
385     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)386     public Builder setRepeatedField(
387         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
388       return super.setRepeatedField(field, index, value);
389     }
390 
391     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)392     public Builder addRepeatedField(
393         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
394       return super.addRepeatedField(field, value);
395     }
396 
397     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)398     public Builder mergeFrom(com.google.protobuf.Message other) {
399       if (other instanceof com.google.container.v1.ShieldedInstanceConfig) {
400         return mergeFrom((com.google.container.v1.ShieldedInstanceConfig) other);
401       } else {
402         super.mergeFrom(other);
403         return this;
404       }
405     }
406 
mergeFrom(com.google.container.v1.ShieldedInstanceConfig other)407     public Builder mergeFrom(com.google.container.v1.ShieldedInstanceConfig other) {
408       if (other == com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance()) return this;
409       if (other.getEnableSecureBoot() != false) {
410         setEnableSecureBoot(other.getEnableSecureBoot());
411       }
412       if (other.getEnableIntegrityMonitoring() != false) {
413         setEnableIntegrityMonitoring(other.getEnableIntegrityMonitoring());
414       }
415       this.mergeUnknownFields(other.getUnknownFields());
416       onChanged();
417       return this;
418     }
419 
420     @java.lang.Override
isInitialized()421     public final boolean isInitialized() {
422       return true;
423     }
424 
425     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)426     public Builder mergeFrom(
427         com.google.protobuf.CodedInputStream input,
428         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
429         throws java.io.IOException {
430       if (extensionRegistry == null) {
431         throw new java.lang.NullPointerException();
432       }
433       try {
434         boolean done = false;
435         while (!done) {
436           int tag = input.readTag();
437           switch (tag) {
438             case 0:
439               done = true;
440               break;
441             case 8:
442               {
443                 enableSecureBoot_ = input.readBool();
444                 bitField0_ |= 0x00000001;
445                 break;
446               } // case 8
447             case 16:
448               {
449                 enableIntegrityMonitoring_ = input.readBool();
450                 bitField0_ |= 0x00000002;
451                 break;
452               } // case 16
453             default:
454               {
455                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
456                   done = true; // was an endgroup tag
457                 }
458                 break;
459               } // default:
460           } // switch (tag)
461         } // while (!done)
462       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
463         throw e.unwrapIOException();
464       } finally {
465         onChanged();
466       } // finally
467       return this;
468     }
469 
470     private int bitField0_;
471 
472     private boolean enableSecureBoot_;
473     /**
474      *
475      *
476      * <pre>
477      * Defines whether the instance has Secure Boot enabled.
478      * Secure Boot helps ensure that the system only runs authentic software by
479      * verifying the digital signature of all boot components, and halting the
480      * boot process if signature verification fails.
481      * </pre>
482      *
483      * <code>bool enable_secure_boot = 1;</code>
484      *
485      * @return The enableSecureBoot.
486      */
487     @java.lang.Override
getEnableSecureBoot()488     public boolean getEnableSecureBoot() {
489       return enableSecureBoot_;
490     }
491     /**
492      *
493      *
494      * <pre>
495      * Defines whether the instance has Secure Boot enabled.
496      * Secure Boot helps ensure that the system only runs authentic software by
497      * verifying the digital signature of all boot components, and halting the
498      * boot process if signature verification fails.
499      * </pre>
500      *
501      * <code>bool enable_secure_boot = 1;</code>
502      *
503      * @param value The enableSecureBoot to set.
504      * @return This builder for chaining.
505      */
setEnableSecureBoot(boolean value)506     public Builder setEnableSecureBoot(boolean value) {
507 
508       enableSecureBoot_ = value;
509       bitField0_ |= 0x00000001;
510       onChanged();
511       return this;
512     }
513     /**
514      *
515      *
516      * <pre>
517      * Defines whether the instance has Secure Boot enabled.
518      * Secure Boot helps ensure that the system only runs authentic software by
519      * verifying the digital signature of all boot components, and halting the
520      * boot process if signature verification fails.
521      * </pre>
522      *
523      * <code>bool enable_secure_boot = 1;</code>
524      *
525      * @return This builder for chaining.
526      */
clearEnableSecureBoot()527     public Builder clearEnableSecureBoot() {
528       bitField0_ = (bitField0_ & ~0x00000001);
529       enableSecureBoot_ = false;
530       onChanged();
531       return this;
532     }
533 
534     private boolean enableIntegrityMonitoring_;
535     /**
536      *
537      *
538      * <pre>
539      * Defines whether the instance has integrity monitoring enabled.
540      * Enables monitoring and attestation of the boot integrity of the instance.
541      * The attestation is performed against the integrity policy baseline. This
542      * baseline is initially derived from the implicitly trusted boot image when
543      * the instance is created.
544      * </pre>
545      *
546      * <code>bool enable_integrity_monitoring = 2;</code>
547      *
548      * @return The enableIntegrityMonitoring.
549      */
550     @java.lang.Override
getEnableIntegrityMonitoring()551     public boolean getEnableIntegrityMonitoring() {
552       return enableIntegrityMonitoring_;
553     }
554     /**
555      *
556      *
557      * <pre>
558      * Defines whether the instance has integrity monitoring enabled.
559      * Enables monitoring and attestation of the boot integrity of the instance.
560      * The attestation is performed against the integrity policy baseline. This
561      * baseline is initially derived from the implicitly trusted boot image when
562      * the instance is created.
563      * </pre>
564      *
565      * <code>bool enable_integrity_monitoring = 2;</code>
566      *
567      * @param value The enableIntegrityMonitoring to set.
568      * @return This builder for chaining.
569      */
setEnableIntegrityMonitoring(boolean value)570     public Builder setEnableIntegrityMonitoring(boolean value) {
571 
572       enableIntegrityMonitoring_ = value;
573       bitField0_ |= 0x00000002;
574       onChanged();
575       return this;
576     }
577     /**
578      *
579      *
580      * <pre>
581      * Defines whether the instance has integrity monitoring enabled.
582      * Enables monitoring and attestation of the boot integrity of the instance.
583      * The attestation is performed against the integrity policy baseline. This
584      * baseline is initially derived from the implicitly trusted boot image when
585      * the instance is created.
586      * </pre>
587      *
588      * <code>bool enable_integrity_monitoring = 2;</code>
589      *
590      * @return This builder for chaining.
591      */
clearEnableIntegrityMonitoring()592     public Builder clearEnableIntegrityMonitoring() {
593       bitField0_ = (bitField0_ & ~0x00000002);
594       enableIntegrityMonitoring_ = false;
595       onChanged();
596       return this;
597     }
598 
599     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)600     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
601       return super.setUnknownFields(unknownFields);
602     }
603 
604     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)605     public final Builder mergeUnknownFields(
606         final com.google.protobuf.UnknownFieldSet unknownFields) {
607       return super.mergeUnknownFields(unknownFields);
608     }
609 
610     // @@protoc_insertion_point(builder_scope:google.container.v1.ShieldedInstanceConfig)
611   }
612 
613   // @@protoc_insertion_point(class_scope:google.container.v1.ShieldedInstanceConfig)
614   private static final com.google.container.v1.ShieldedInstanceConfig DEFAULT_INSTANCE;
615 
616   static {
617     DEFAULT_INSTANCE = new com.google.container.v1.ShieldedInstanceConfig();
618   }
619 
getDefaultInstance()620   public static com.google.container.v1.ShieldedInstanceConfig getDefaultInstance() {
621     return DEFAULT_INSTANCE;
622   }
623 
624   private static final com.google.protobuf.Parser<ShieldedInstanceConfig> PARSER =
625       new com.google.protobuf.AbstractParser<ShieldedInstanceConfig>() {
626         @java.lang.Override
627         public ShieldedInstanceConfig parsePartialFrom(
628             com.google.protobuf.CodedInputStream input,
629             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
630             throws com.google.protobuf.InvalidProtocolBufferException {
631           Builder builder = newBuilder();
632           try {
633             builder.mergeFrom(input, extensionRegistry);
634           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
635             throw e.setUnfinishedMessage(builder.buildPartial());
636           } catch (com.google.protobuf.UninitializedMessageException e) {
637             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
638           } catch (java.io.IOException e) {
639             throw new com.google.protobuf.InvalidProtocolBufferException(e)
640                 .setUnfinishedMessage(builder.buildPartial());
641           }
642           return builder.buildPartial();
643         }
644       };
645 
parser()646   public static com.google.protobuf.Parser<ShieldedInstanceConfig> parser() {
647     return PARSER;
648   }
649 
650   @java.lang.Override
getParserForType()651   public com.google.protobuf.Parser<ShieldedInstanceConfig> getParserForType() {
652     return PARSER;
653   }
654 
655   @java.lang.Override
getDefaultInstanceForType()656   public com.google.container.v1.ShieldedInstanceConfig getDefaultInstanceForType() {
657     return DEFAULT_INSTANCE;
658   }
659 }
660