@@ -140,12 +140,28 @@ public final class Node extends com.google.api.client.json.GenericJson {
140140 private java .lang .String name ;
141141
142142 /**
143- * Network configurations for the TPU node.
143+ * Network configurations for the TPU node. network_config and network_configs are mutually
144+ * exclusive, you can only specify one of them. If both are specified, an error will be returned.
144145 * The value may be {@code null}.
145146 */
146147 @ com .google .api .client .util .Key
147148 private NetworkConfig networkConfig ;
148149
150+ /**
151+ * Optional. Repeated network configurations for the TPU node. This field is used to specify
152+ * multiple networks configs for the TPU node. network_config and network_configs are mutually
153+ * exclusive, you can only specify one of them. If both are specified, an error will be returned.
154+ * The value may be {@code null}.
155+ */
156+ @ com .google .api .client .util .Key
157+ private java .util .List <NetworkConfig > networkConfigs ;
158+
159+ static {
160+ // hack to force ProGuard to consider NetworkConfig used, since otherwise it would be stripped out
161+ // see https://github.com/google/google-api-java-client/issues/543
162+ com .google .api .client .util .Data .nullOf (NetworkConfig .class );
163+ }
164+
149165 /**
150166 * Output only. The network endpoints where TPU workers can be accessed and sent work. It is
151167 * recommended that runtime clients of the node reach out to the 0th entry in this map first.
@@ -469,22 +485,45 @@ public Node setName(java.lang.String name) {
469485 }
470486
471487 /**
472- * Network configurations for the TPU node.
488+ * Network configurations for the TPU node. network_config and network_configs are mutually
489+ * exclusive, you can only specify one of them. If both are specified, an error will be returned.
473490 * @return value or {@code null} for none
474491 */
475492 public NetworkConfig getNetworkConfig () {
476493 return networkConfig ;
477494 }
478495
479496 /**
480- * Network configurations for the TPU node.
497+ * Network configurations for the TPU node. network_config and network_configs are mutually
498+ * exclusive, you can only specify one of them. If both are specified, an error will be returned.
481499 * @param networkConfig networkConfig or {@code null} for none
482500 */
483501 public Node setNetworkConfig (NetworkConfig networkConfig ) {
484502 this .networkConfig = networkConfig ;
485503 return this ;
486504 }
487505
506+ /**
507+ * Optional. Repeated network configurations for the TPU node. This field is used to specify
508+ * multiple networks configs for the TPU node. network_config and network_configs are mutually
509+ * exclusive, you can only specify one of them. If both are specified, an error will be returned.
510+ * @return value or {@code null} for none
511+ */
512+ public java .util .List <NetworkConfig > getNetworkConfigs () {
513+ return networkConfigs ;
514+ }
515+
516+ /**
517+ * Optional. Repeated network configurations for the TPU node. This field is used to specify
518+ * multiple networks configs for the TPU node. network_config and network_configs are mutually
519+ * exclusive, you can only specify one of them. If both are specified, an error will be returned.
520+ * @param networkConfigs networkConfigs or {@code null} for none
521+ */
522+ public Node setNetworkConfigs (java .util .List <NetworkConfig > networkConfigs ) {
523+ this .networkConfigs = networkConfigs ;
524+ return this ;
525+ }
526+
488527 /**
489528 * Output only. The network endpoints where TPU workers can be accessed and sent work. It is
490529 * recommended that runtime clients of the node reach out to the 0th entry in this map first.
0 commit comments