@@ -556,6 +556,54 @@ public com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDri
556556 return getGcpFilestoreCsiDriverConfig ();
557557 }
558558
559+ public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER = 16 ;
560+ private com .google .container .v1 .GkeBackupAgentConfig gkeBackupAgentConfig_ ;
561+ /**
562+ *
563+ *
564+ * <pre>
565+ * Configuration for the Backup for GKE agent addon.
566+ * </pre>
567+ *
568+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
569+ *
570+ * @return Whether the gkeBackupAgentConfig field is set.
571+ */
572+ @ java .lang .Override
573+ public boolean hasGkeBackupAgentConfig () {
574+ return gkeBackupAgentConfig_ != null ;
575+ }
576+ /**
577+ *
578+ *
579+ * <pre>
580+ * Configuration for the Backup for GKE agent addon.
581+ * </pre>
582+ *
583+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
584+ *
585+ * @return The gkeBackupAgentConfig.
586+ */
587+ @ java .lang .Override
588+ public com .google .container .v1 .GkeBackupAgentConfig getGkeBackupAgentConfig () {
589+ return gkeBackupAgentConfig_ == null
590+ ? com .google .container .v1 .GkeBackupAgentConfig .getDefaultInstance ()
591+ : gkeBackupAgentConfig_ ;
592+ }
593+ /**
594+ *
595+ *
596+ * <pre>
597+ * Configuration for the Backup for GKE agent addon.
598+ * </pre>
599+ *
600+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
601+ */
602+ @ java .lang .Override
603+ public com .google .container .v1 .GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder () {
604+ return getGkeBackupAgentConfig ();
605+ }
606+
559607 private byte memoizedIsInitialized = -1 ;
560608
561609 @ java .lang .Override
@@ -597,6 +645,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
597645 if (gcpFilestoreCsiDriverConfig_ != null ) {
598646 output .writeMessage (14 , getGcpFilestoreCsiDriverConfig ());
599647 }
648+ if (gkeBackupAgentConfig_ != null ) {
649+ output .writeMessage (16 , getGkeBackupAgentConfig ());
650+ }
600651 getUnknownFields ().writeTo (output );
601652 }
602653
@@ -640,6 +691,10 @@ public int getSerializedSize() {
640691 com .google .protobuf .CodedOutputStream .computeMessageSize (
641692 14 , getGcpFilestoreCsiDriverConfig ());
642693 }
694+ if (gkeBackupAgentConfig_ != null ) {
695+ size +=
696+ com .google .protobuf .CodedOutputStream .computeMessageSize (16 , getGkeBackupAgentConfig ());
697+ }
643698 size += getUnknownFields ().getSerializedSize ();
644699 memoizedSize = size ;
645700 return size ;
@@ -694,6 +749,10 @@ public boolean equals(final java.lang.Object obj) {
694749 if (!getGcpFilestoreCsiDriverConfig ().equals (other .getGcpFilestoreCsiDriverConfig ()))
695750 return false ;
696751 }
752+ if (hasGkeBackupAgentConfig () != other .hasGkeBackupAgentConfig ()) return false ;
753+ if (hasGkeBackupAgentConfig ()) {
754+ if (!getGkeBackupAgentConfig ().equals (other .getGkeBackupAgentConfig ())) return false ;
755+ }
697756 if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
698757 return true ;
699758 }
@@ -741,6 +800,10 @@ public int hashCode() {
741800 hash = (37 * hash ) + GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER ;
742801 hash = (53 * hash ) + getGcpFilestoreCsiDriverConfig ().hashCode ();
743802 }
803+ if (hasGkeBackupAgentConfig ()) {
804+ hash = (37 * hash ) + GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER ;
805+ hash = (53 * hash ) + getGkeBackupAgentConfig ().hashCode ();
806+ }
744807 hash = (29 * hash ) + getUnknownFields ().hashCode ();
745808 memoizedHashCode = hash ;
746809 return hash ;
@@ -933,6 +996,12 @@ public Builder clear() {
933996 gcpFilestoreCsiDriverConfig_ = null ;
934997 gcpFilestoreCsiDriverConfigBuilder_ = null ;
935998 }
999+ if (gkeBackupAgentConfigBuilder_ == null ) {
1000+ gkeBackupAgentConfig_ = null ;
1001+ } else {
1002+ gkeBackupAgentConfig_ = null ;
1003+ gkeBackupAgentConfigBuilder_ = null ;
1004+ }
9361005 return this ;
9371006 }
9381007
@@ -1004,6 +1073,11 @@ public com.google.container.v1.AddonsConfig buildPartial() {
10041073 } else {
10051074 result .gcpFilestoreCsiDriverConfig_ = gcpFilestoreCsiDriverConfigBuilder_ .build ();
10061075 }
1076+ if (gkeBackupAgentConfigBuilder_ == null ) {
1077+ result .gkeBackupAgentConfig_ = gkeBackupAgentConfig_ ;
1078+ } else {
1079+ result .gkeBackupAgentConfig_ = gkeBackupAgentConfigBuilder_ .build ();
1080+ }
10071081 onBuilt ();
10081082 return result ;
10091083 }
@@ -1080,6 +1154,9 @@ public Builder mergeFrom(com.google.container.v1.AddonsConfig other) {
10801154 if (other .hasGcpFilestoreCsiDriverConfig ()) {
10811155 mergeGcpFilestoreCsiDriverConfig (other .getGcpFilestoreCsiDriverConfig ());
10821156 }
1157+ if (other .hasGkeBackupAgentConfig ()) {
1158+ mergeGkeBackupAgentConfig (other .getGkeBackupAgentConfig ());
1159+ }
10831160 this .mergeUnknownFields (other .getUnknownFields ());
10841161 onChanged ();
10851162 return this ;
@@ -1168,6 +1245,13 @@ public Builder mergeFrom(
11681245
11691246 break ;
11701247 } // case 114
1248+ case 130 :
1249+ {
1250+ input .readMessage (
1251+ getGkeBackupAgentConfigFieldBuilder ().getBuilder (), extensionRegistry );
1252+
1253+ break ;
1254+ } // case 130
11711255 default :
11721256 {
11731257 if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -3024,6 +3108,193 @@ public Builder clearGcpFilestoreCsiDriverConfig() {
30243108 return gcpFilestoreCsiDriverConfigBuilder_ ;
30253109 }
30263110
3111+ private com .google .container .v1 .GkeBackupAgentConfig gkeBackupAgentConfig_ ;
3112+ private com .google .protobuf .SingleFieldBuilderV3 <
3113+ com .google .container .v1 .GkeBackupAgentConfig ,
3114+ com .google .container .v1 .GkeBackupAgentConfig .Builder ,
3115+ com .google .container .v1 .GkeBackupAgentConfigOrBuilder >
3116+ gkeBackupAgentConfigBuilder_ ;
3117+ /**
3118+ *
3119+ *
3120+ * <pre>
3121+ * Configuration for the Backup for GKE agent addon.
3122+ * </pre>
3123+ *
3124+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3125+ *
3126+ * @return Whether the gkeBackupAgentConfig field is set.
3127+ */
3128+ public boolean hasGkeBackupAgentConfig () {
3129+ return gkeBackupAgentConfigBuilder_ != null || gkeBackupAgentConfig_ != null ;
3130+ }
3131+ /**
3132+ *
3133+ *
3134+ * <pre>
3135+ * Configuration for the Backup for GKE agent addon.
3136+ * </pre>
3137+ *
3138+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3139+ *
3140+ * @return The gkeBackupAgentConfig.
3141+ */
3142+ public com .google .container .v1 .GkeBackupAgentConfig getGkeBackupAgentConfig () {
3143+ if (gkeBackupAgentConfigBuilder_ == null ) {
3144+ return gkeBackupAgentConfig_ == null
3145+ ? com .google .container .v1 .GkeBackupAgentConfig .getDefaultInstance ()
3146+ : gkeBackupAgentConfig_ ;
3147+ } else {
3148+ return gkeBackupAgentConfigBuilder_ .getMessage ();
3149+ }
3150+ }
3151+ /**
3152+ *
3153+ *
3154+ * <pre>
3155+ * Configuration for the Backup for GKE agent addon.
3156+ * </pre>
3157+ *
3158+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3159+ */
3160+ public Builder setGkeBackupAgentConfig (com .google .container .v1 .GkeBackupAgentConfig value ) {
3161+ if (gkeBackupAgentConfigBuilder_ == null ) {
3162+ if (value == null ) {
3163+ throw new NullPointerException ();
3164+ }
3165+ gkeBackupAgentConfig_ = value ;
3166+ onChanged ();
3167+ } else {
3168+ gkeBackupAgentConfigBuilder_ .setMessage (value );
3169+ }
3170+
3171+ return this ;
3172+ }
3173+ /**
3174+ *
3175+ *
3176+ * <pre>
3177+ * Configuration for the Backup for GKE agent addon.
3178+ * </pre>
3179+ *
3180+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3181+ */
3182+ public Builder setGkeBackupAgentConfig (
3183+ com .google .container .v1 .GkeBackupAgentConfig .Builder builderForValue ) {
3184+ if (gkeBackupAgentConfigBuilder_ == null ) {
3185+ gkeBackupAgentConfig_ = builderForValue .build ();
3186+ onChanged ();
3187+ } else {
3188+ gkeBackupAgentConfigBuilder_ .setMessage (builderForValue .build ());
3189+ }
3190+
3191+ return this ;
3192+ }
3193+ /**
3194+ *
3195+ *
3196+ * <pre>
3197+ * Configuration for the Backup for GKE agent addon.
3198+ * </pre>
3199+ *
3200+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3201+ */
3202+ public Builder mergeGkeBackupAgentConfig (com .google .container .v1 .GkeBackupAgentConfig value ) {
3203+ if (gkeBackupAgentConfigBuilder_ == null ) {
3204+ if (gkeBackupAgentConfig_ != null ) {
3205+ gkeBackupAgentConfig_ =
3206+ com .google .container .v1 .GkeBackupAgentConfig .newBuilder (gkeBackupAgentConfig_ )
3207+ .mergeFrom (value )
3208+ .buildPartial ();
3209+ } else {
3210+ gkeBackupAgentConfig_ = value ;
3211+ }
3212+ onChanged ();
3213+ } else {
3214+ gkeBackupAgentConfigBuilder_ .mergeFrom (value );
3215+ }
3216+
3217+ return this ;
3218+ }
3219+ /**
3220+ *
3221+ *
3222+ * <pre>
3223+ * Configuration for the Backup for GKE agent addon.
3224+ * </pre>
3225+ *
3226+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3227+ */
3228+ public Builder clearGkeBackupAgentConfig () {
3229+ if (gkeBackupAgentConfigBuilder_ == null ) {
3230+ gkeBackupAgentConfig_ = null ;
3231+ onChanged ();
3232+ } else {
3233+ gkeBackupAgentConfig_ = null ;
3234+ gkeBackupAgentConfigBuilder_ = null ;
3235+ }
3236+
3237+ return this ;
3238+ }
3239+ /**
3240+ *
3241+ *
3242+ * <pre>
3243+ * Configuration for the Backup for GKE agent addon.
3244+ * </pre>
3245+ *
3246+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3247+ */
3248+ public com .google .container .v1 .GkeBackupAgentConfig .Builder getGkeBackupAgentConfigBuilder () {
3249+
3250+ onChanged ();
3251+ return getGkeBackupAgentConfigFieldBuilder ().getBuilder ();
3252+ }
3253+ /**
3254+ *
3255+ *
3256+ * <pre>
3257+ * Configuration for the Backup for GKE agent addon.
3258+ * </pre>
3259+ *
3260+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3261+ */
3262+ public com .google .container .v1 .GkeBackupAgentConfigOrBuilder
3263+ getGkeBackupAgentConfigOrBuilder () {
3264+ if (gkeBackupAgentConfigBuilder_ != null ) {
3265+ return gkeBackupAgentConfigBuilder_ .getMessageOrBuilder ();
3266+ } else {
3267+ return gkeBackupAgentConfig_ == null
3268+ ? com .google .container .v1 .GkeBackupAgentConfig .getDefaultInstance ()
3269+ : gkeBackupAgentConfig_ ;
3270+ }
3271+ }
3272+ /**
3273+ *
3274+ *
3275+ * <pre>
3276+ * Configuration for the Backup for GKE agent addon.
3277+ * </pre>
3278+ *
3279+ * <code>.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;</code>
3280+ */
3281+ private com .google .protobuf .SingleFieldBuilderV3 <
3282+ com .google .container .v1 .GkeBackupAgentConfig ,
3283+ com .google .container .v1 .GkeBackupAgentConfig .Builder ,
3284+ com .google .container .v1 .GkeBackupAgentConfigOrBuilder >
3285+ getGkeBackupAgentConfigFieldBuilder () {
3286+ if (gkeBackupAgentConfigBuilder_ == null ) {
3287+ gkeBackupAgentConfigBuilder_ =
3288+ new com .google .protobuf .SingleFieldBuilderV3 <
3289+ com .google .container .v1 .GkeBackupAgentConfig ,
3290+ com .google .container .v1 .GkeBackupAgentConfig .Builder ,
3291+ com .google .container .v1 .GkeBackupAgentConfigOrBuilder >(
3292+ getGkeBackupAgentConfig (), getParentForChildren (), isClean ());
3293+ gkeBackupAgentConfig_ = null ;
3294+ }
3295+ return gkeBackupAgentConfigBuilder_ ;
3296+ }
3297+
30273298 @ java .lang .Override
30283299 public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
30293300 return super .setUnknownFields (unknownFields );
0 commit comments