@@ -45,6 +45,7 @@ private AutoprovisioningNodePoolDefaults() {
45
45
minCpuPlatform_ = "" ;
46
46
diskType_ = "" ;
47
47
bootDiskKmsKey_ = "" ;
48
+ imageType_ = "" ;
48
49
}
49
50
50
51
@ java .lang .Override
@@ -168,6 +169,13 @@ private AutoprovisioningNodePoolDefaults(
168
169
bootDiskKmsKey_ = s ;
169
170
break ;
170
171
}
172
+ case 82 :
173
+ {
174
+ java .lang .String s = input .readStringRequireUtf8 ();
175
+
176
+ imageType_ = s ;
177
+ break ;
178
+ }
171
179
default :
172
180
{
173
181
if (!parseUnknownField (input , unknownFields , extensionRegistry , tag )) {
@@ -657,6 +665,55 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() {
657
665
}
658
666
}
659
667
668
+ public static final int IMAGE_TYPE_FIELD_NUMBER = 10 ;
669
+ private volatile java .lang .Object imageType_ ;
670
+ /**
671
+ *
672
+ *
673
+ * <pre>
674
+ * The image type to use for NAP created node.
675
+ * </pre>
676
+ *
677
+ * <code>string image_type = 10;</code>
678
+ *
679
+ * @return The imageType.
680
+ */
681
+ @ java .lang .Override
682
+ public java .lang .String getImageType () {
683
+ java .lang .Object ref = imageType_ ;
684
+ if (ref instanceof java .lang .String ) {
685
+ return (java .lang .String ) ref ;
686
+ } else {
687
+ com .google .protobuf .ByteString bs = (com .google .protobuf .ByteString ) ref ;
688
+ java .lang .String s = bs .toStringUtf8 ();
689
+ imageType_ = s ;
690
+ return s ;
691
+ }
692
+ }
693
+ /**
694
+ *
695
+ *
696
+ * <pre>
697
+ * The image type to use for NAP created node.
698
+ * </pre>
699
+ *
700
+ * <code>string image_type = 10;</code>
701
+ *
702
+ * @return The bytes for imageType.
703
+ */
704
+ @ java .lang .Override
705
+ public com .google .protobuf .ByteString getImageTypeBytes () {
706
+ java .lang .Object ref = imageType_ ;
707
+ if (ref instanceof java .lang .String ) {
708
+ com .google .protobuf .ByteString b =
709
+ com .google .protobuf .ByteString .copyFromUtf8 ((java .lang .String ) ref );
710
+ imageType_ = b ;
711
+ return b ;
712
+ } else {
713
+ return (com .google .protobuf .ByteString ) ref ;
714
+ }
715
+ }
716
+
660
717
private byte memoizedIsInitialized = -1 ;
661
718
662
719
@ java .lang .Override
@@ -698,6 +755,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
698
755
if (!getBootDiskKmsKeyBytes ().isEmpty ()) {
699
756
com .google .protobuf .GeneratedMessageV3 .writeString (output , 9 , bootDiskKmsKey_ );
700
757
}
758
+ if (!getImageTypeBytes ().isEmpty ()) {
759
+ com .google .protobuf .GeneratedMessageV3 .writeString (output , 10 , imageType_ );
760
+ }
701
761
unknownFields .writeTo (output );
702
762
}
703
763
@@ -740,6 +800,9 @@ public int getSerializedSize() {
740
800
if (!getBootDiskKmsKeyBytes ().isEmpty ()) {
741
801
size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (9 , bootDiskKmsKey_ );
742
802
}
803
+ if (!getImageTypeBytes ().isEmpty ()) {
804
+ size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (10 , imageType_ );
805
+ }
743
806
size += unknownFields .getSerializedSize ();
744
807
memoizedSize = size ;
745
808
return size ;
@@ -774,6 +837,7 @@ public boolean equals(final java.lang.Object obj) {
774
837
if (!getShieldedInstanceConfig ().equals (other .getShieldedInstanceConfig ())) return false ;
775
838
}
776
839
if (!getBootDiskKmsKey ().equals (other .getBootDiskKmsKey ())) return false ;
840
+ if (!getImageType ().equals (other .getImageType ())) return false ;
777
841
if (!unknownFields .equals (other .unknownFields )) return false ;
778
842
return true ;
779
843
}
@@ -811,6 +875,8 @@ public int hashCode() {
811
875
}
812
876
hash = (37 * hash ) + BOOT_DISK_KMS_KEY_FIELD_NUMBER ;
813
877
hash = (53 * hash ) + getBootDiskKmsKey ().hashCode ();
878
+ hash = (37 * hash ) + IMAGE_TYPE_FIELD_NUMBER ;
879
+ hash = (53 * hash ) + getImageType ().hashCode ();
814
880
hash = (29 * hash ) + unknownFields .hashCode ();
815
881
memoizedHashCode = hash ;
816
882
return hash ;
@@ -988,6 +1054,8 @@ public Builder clear() {
988
1054
}
989
1055
bootDiskKmsKey_ = "" ;
990
1056
1057
+ imageType_ = "" ;
1058
+
991
1059
return this ;
992
1060
}
993
1061
@@ -1041,6 +1109,7 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaults buildPartial() {
1041
1109
result .shieldedInstanceConfig_ = shieldedInstanceConfigBuilder_ .build ();
1042
1110
}
1043
1111
result .bootDiskKmsKey_ = bootDiskKmsKey_ ;
1112
+ result .imageType_ = imageType_ ;
1044
1113
onBuilt ();
1045
1114
return result ;
1046
1115
}
@@ -1129,6 +1198,10 @@ public Builder mergeFrom(com.google.container.v1.AutoprovisioningNodePoolDefault
1129
1198
bootDiskKmsKey_ = other .bootDiskKmsKey_ ;
1130
1199
onChanged ();
1131
1200
}
1201
+ if (!other .getImageType ().isEmpty ()) {
1202
+ imageType_ = other .imageType_ ;
1203
+ onChanged ();
1204
+ }
1132
1205
this .mergeUnknownFields (other .unknownFields );
1133
1206
onChanged ();
1134
1207
return this ;
@@ -2446,6 +2519,112 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) {
2446
2519
return this ;
2447
2520
}
2448
2521
2522
+ private java .lang .Object imageType_ = "" ;
2523
+ /**
2524
+ *
2525
+ *
2526
+ * <pre>
2527
+ * The image type to use for NAP created node.
2528
+ * </pre>
2529
+ *
2530
+ * <code>string image_type = 10;</code>
2531
+ *
2532
+ * @return The imageType.
2533
+ */
2534
+ public java .lang .String getImageType () {
2535
+ java .lang .Object ref = imageType_ ;
2536
+ if (!(ref instanceof java .lang .String )) {
2537
+ com .google .protobuf .ByteString bs = (com .google .protobuf .ByteString ) ref ;
2538
+ java .lang .String s = bs .toStringUtf8 ();
2539
+ imageType_ = s ;
2540
+ return s ;
2541
+ } else {
2542
+ return (java .lang .String ) ref ;
2543
+ }
2544
+ }
2545
+ /**
2546
+ *
2547
+ *
2548
+ * <pre>
2549
+ * The image type to use for NAP created node.
2550
+ * </pre>
2551
+ *
2552
+ * <code>string image_type = 10;</code>
2553
+ *
2554
+ * @return The bytes for imageType.
2555
+ */
2556
+ public com .google .protobuf .ByteString getImageTypeBytes () {
2557
+ java .lang .Object ref = imageType_ ;
2558
+ if (ref instanceof String ) {
2559
+ com .google .protobuf .ByteString b =
2560
+ com .google .protobuf .ByteString .copyFromUtf8 ((java .lang .String ) ref );
2561
+ imageType_ = b ;
2562
+ return b ;
2563
+ } else {
2564
+ return (com .google .protobuf .ByteString ) ref ;
2565
+ }
2566
+ }
2567
+ /**
2568
+ *
2569
+ *
2570
+ * <pre>
2571
+ * The image type to use for NAP created node.
2572
+ * </pre>
2573
+ *
2574
+ * <code>string image_type = 10;</code>
2575
+ *
2576
+ * @param value The imageType to set.
2577
+ * @return This builder for chaining.
2578
+ */
2579
+ public Builder setImageType (java .lang .String value ) {
2580
+ if (value == null ) {
2581
+ throw new NullPointerException ();
2582
+ }
2583
+
2584
+ imageType_ = value ;
2585
+ onChanged ();
2586
+ return this ;
2587
+ }
2588
+ /**
2589
+ *
2590
+ *
2591
+ * <pre>
2592
+ * The image type to use for NAP created node.
2593
+ * </pre>
2594
+ *
2595
+ * <code>string image_type = 10;</code>
2596
+ *
2597
+ * @return This builder for chaining.
2598
+ */
2599
+ public Builder clearImageType () {
2600
+
2601
+ imageType_ = getDefaultInstance ().getImageType ();
2602
+ onChanged ();
2603
+ return this ;
2604
+ }
2605
+ /**
2606
+ *
2607
+ *
2608
+ * <pre>
2609
+ * The image type to use for NAP created node.
2610
+ * </pre>
2611
+ *
2612
+ * <code>string image_type = 10;</code>
2613
+ *
2614
+ * @param value The bytes for imageType to set.
2615
+ * @return This builder for chaining.
2616
+ */
2617
+ public Builder setImageTypeBytes (com .google .protobuf .ByteString value ) {
2618
+ if (value == null ) {
2619
+ throw new NullPointerException ();
2620
+ }
2621
+ checkByteStringIsUtf8 (value );
2622
+
2623
+ imageType_ = value ;
2624
+ onChanged ();
2625
+ return this ;
2626
+ }
2627
+
2449
2628
@ java .lang .Override
2450
2629
public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
2451
2630
return super .setUnknownFields (unknownFields );
0 commit comments