@@ -103,6 +103,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
103
103
internal_static_google_cloud_batch_v1_AllocationPolicy_NetworkPolicy_descriptor ;
104
104
static final com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
105
105
internal_static_google_cloud_batch_v1_AllocationPolicy_NetworkPolicy_fieldAccessorTable ;
106
+ static final com .google .protobuf .Descriptors .Descriptor
107
+ internal_static_google_cloud_batch_v1_AllocationPolicy_PlacementPolicy_descriptor ;
108
+ static final com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
109
+ internal_static_google_cloud_batch_v1_AllocationPolicy_PlacementPolicy_fieldAccessorTable ;
106
110
static final com .google .protobuf .Descriptors .Descriptor
107
111
internal_static_google_cloud_batch_v1_AllocationPolicy_LabelsEntry_descriptor ;
108
112
static final com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
@@ -182,7 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
182
186
+ "k_state\030 \003 \001 (\016 2\' .google.cloud.batch.v1.Ta"
183
187
+ "skStatus.State\" K\n \004 Type\022 \024 \n \020 TYPE_UNSPECIFI"
184
188
+ "ED\020 \000 \022 \025 \n \021 JOB_STATE_CHANGED\020 \001 \022 \026 \n \022 TASK_STAT"
185
- + "E_CHANGED\020 \002 \" \350 \014 \n \020 AllocationPolicy\022 H\n \010 loca"
189
+ + "E_CHANGED\020 \002 \" \362 \r \n \020 AllocationPolicy\022 H\n \010 loca"
186
190
+ "tion\030 \001 \001 (\013 26.google.cloud.batch.v1.Alloc"
187
191
+ "ationPolicy.LocationPolicy\022 S\n \t instances\030 "
188
192
+
"\010 \003 (\013 [email protected] "
@@ -191,54 +195,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
191
195
+ ".ServiceAccount\022 C\n \006 labels\030 \006 \003 (\013 23.google"
192
196
+ ".cloud.batch.v1.AllocationPolicy.LabelsE"
193
197
+ "ntry\022 F\n \007 network\030 \007 \001 (\013 25.google.cloud.bat"
194
- + "ch.v1.AllocationPolicy.NetworkPolicy\032 +\n \016 "
195
- + "LocationPolicy\022 \031 \n \021 allowed_locations\030 \001 \003 ("
196
- + "\t \032 q\n \004 Disk\022 \017 \n \005 image\030 \004 \001 (\t H\000 \022 \022 \n \010 snapshot\030 \005 "
197
- + " \001 (\t H\000 \022 \014 \n \004 type\030 \001 \001 (\t \022 \017 \n \007 size_gb\030 \002 \001 (\003 \022 \026 \n "
198
- + "\016 disk_interface\030 \006 \001 (\t B\r \n \013 data_source\032 \212 \001 \n "
199
- + "\014 AttachedDisk\022 @\n \010 new_disk\030 \001 \001 (\013 2,.google"
200
- + ".cloud.batch.v1.AllocationPolicy.DiskH\000 \022 "
201
- + "\027 \n \r existing_disk\030 \002 \001 (\t H\000 \022 \023 \n \013 device_name\030 "
202
- + "\003 \001 (\t B\n \n \010 attached\032 K\n \013 Accelerator\022 \014 \n \004 type"
203
- + "\030 \001 \001 (\t \022 \r \n \005 count\030 \002 \001 (\003 \022 \037 \n \023 install_gpu_dri"
204
- + "vers\030 \003 \001 (\010 B\002 \030 \001 \032 \350 \002 \n \016 InstancePolicy\022 \024 \n \014 mac"
205
- + "hine_type\030 \002 \001 (\t \022 \030 \n \020 min_cpu_platform\030 \003 \001 ("
206
- + "\t \022 U\n \022 provisioning_model\030 \004 \001 (\016 29.google.c"
207
- + "loud.batch.v1.AllocationPolicy.Provision"
208
- + "ingModel\022 I\n \014 accelerators\030 \005 \003 (\013 23.google."
209
- + "cloud.batch.v1.AllocationPolicy.Accelera"
210
- + "tor\022 ?\n \t boot_disk\030 \010 \001 (\013 2,.google.cloud.ba"
211
- + "tch.v1.AllocationPolicy.Disk\022 C\n \005 disks\030 \006 "
212
- + "\003 (\013 24.google.cloud.batch.v1.AllocationPo"
213
- + "licy.AttachedDisk\032 \261 \001 \n \030 InstancePolicyOrTe"
214
- + "mplate\022 H\n \006 policy\030 \001 \001 (\013 26.google.cloud.ba"
215
- + "tch.v1.AllocationPolicy.InstancePolicyH\000 "
216
- + "\022 \033 \n \021 instance_template\030 \002 \001 (\t H\000 \022 \033 \n \023 install"
217
- + "_gpu_drivers\030 \003 \001 (\010 B\021 \n \017 policy_template\032 W\n "
218
- + "\020 NetworkInterface\022 \017 \n \007 network\030 \001 \001 (\t \022 \022 \n \n su"
219
- + "bnetwork\030 \002 \001 (\t \022 \036 \n \026 no_external_ip_address"
220
- + "\030 \003 \001 (\010 \032 e\n \r NetworkPolicy\022 T\n \022 network_inter"
221
- + "faces\030 \001 \003 (\013 28.google.cloud.batch.v1.Allo"
222
- + "cationPolicy.NetworkInterface\032 -\n \013 LabelsE"
223
- + "ntry\022 \013 \n \003 key\030 \001 \001 (\t \022 \r \n \005 value\030 \002 \001 (\t :\002 8\001 \" `\n \021 "
224
- + "ProvisioningModel\022 \" \n \036 PROVISIONING_MODEL_"
225
- + "UNSPECIFIED\020 \000 \022 \014 \n \010 STANDARD\020 \001 \022 \010 \n \004 SPOT\020 \002 \022 \017 \n "
226
- + "\013 PREEMPTIBLE\020 \003 \" \201 \003 \n \t TaskGroup\022 \021 \n \004 name\030 \001 \001 "
227
- + "(\t B\003 \340 A\003 \022 7\n \t task_spec\030 \003 \001 (\013 2\037 .google.clou"
228
- + "d.batch.v1.TaskSpecB\003 \340 A\002 \022 \022 \n \n task_count\030 \004 "
229
- + " \001 (\003 \022 \023 \n \013 parallelism\030 \005 \001 (\003 \022 =\n \021 task_enviro"
230
- + "nments\030 \t \003 (\013 2\" .google.cloud.batch.v1.Env"
231
- + "ironment\022 \033 \n \023 task_count_per_node\030 \n \001 (\003 \022 \032 \n "
232
- + "\022 require_hosts_file\030 \013 \001 (\010 \022 \026 \n \016 permissive_"
233
- + "ssh\030 \014 \001 (\010 :o\352 Al\n \036 batch.googleapis.com/Tas"
234
- + "kGroup\022 Jprojects/{project}/locations/{lo"
235
- + "cation}/jobs/{job}/taskGroups/{task_grou"
236
- + "p}\" /\n \016 ServiceAccount\022 \r \n \005 email\030 \001 \001 (\t \022 \016 \n \006 s"
237
- + "copes\030 \002 \003 (\t B\251 \001 \n \031 com.google.cloud.batch.v"
238
- + "1B\010 JobProtoP\001 Z/cloud.google.com/go/batch"
239
- + "/apiv1/batchpb;batchpb\242 \002 \003 GCB\252 \002 \025 Google.Cl"
240
- + "oud.Batch.V1\312 \002 \025 Google\\ Cloud\\ Batch\\ V1\352 \002 \030 G"
241
- + "oogle::Cloud::Batch::V1b\006 proto3"
198
+ + "ch.v1.AllocationPolicy.NetworkPolicy\022 J\n \t "
199
+ + "placement\030 \n \001 (\013 27.google.cloud.batch.v1."
200
+ + "AllocationPolicy.PlacementPolicy\032 +\n \016 Loca"
201
+ + "tionPolicy\022 \031 \n \021 allowed_locations\030 \001 \003 (\t \032 q\n "
202
+ + "\004 Disk\022 \017 \n \005 image\030 \004 \001 (\t H\000 \022 \022 \n \010 snapshot\030 \005 \001 (\t "
203
+ + "H\000 \022 \014 \n \004 type\030 \001 \001 (\t \022 \017 \n \007 size_gb\030 \002 \001 (\003 \022 \026 \n \016 dis"
204
+ + "k_interface\030 \006 \001 (\t B\r \n \013 data_source\032 \212 \001 \n \014 Att"
205
+ + "achedDisk\022 @\n \010 new_disk\030 \001 \001 (\013 2,.google.clo"
206
+ + "ud.batch.v1.AllocationPolicy.DiskH\000 \022 \027 \n \r e"
207
+ + "xisting_disk\030 \002 \001 (\t H\000 \022 \023 \n \013 device_name\030 \003 \001 ("
208
+ + "\t B\n \n \010 attached\032 K\n \013 Accelerator\022 \014 \n \004 type\030 \001 \001 "
209
+ + "(\t \022 \r \n \005 count\030 \002 \001 (\003 \022 \037 \n \023 install_gpu_drivers"
210
+ + "\030 \003 \001 (\010 B\002 \030 \001 \032 \350 \002 \n \016 InstancePolicy\022 \024 \n \014 machine"
211
+ + "_type\030 \002 \001 (\t \022 \030 \n \020 min_cpu_platform\030 \003 \001 (\t \022 U\n "
212
+ + "\022 provisioning_model\030 \004 \001 (\016 29.google.cloud"
213
+ + ".batch.v1.AllocationPolicy.ProvisioningM"
214
+ + "odel\022 I\n \014 accelerators\030 \005 \003 (\013 23.google.clou"
215
+ + "d.batch.v1.AllocationPolicy.Accelerator\022 "
216
+ + "?\n \t boot_disk\030 \010 \001 (\013 2,.google.cloud.batch."
217
+ + "v1.AllocationPolicy.Disk\022 C\n \005 disks\030 \006 \003 (\013 2"
218
+ + "4.google.cloud.batch.v1.AllocationPolicy"
219
+ + ".AttachedDisk\032 \261 \001 \n \030 InstancePolicyOrTempla"
220
+ + "te\022 H\n \006 policy\030 \001 \001 (\013 26.google.cloud.batch."
221
+ + "v1.AllocationPolicy.InstancePolicyH\000 \022 \033 \n \021 "
222
+ + "instance_template\030 \002 \001 (\t H\000 \022 \033 \n \023 install_gpu"
223
+ + "_drivers\030 \003 \001 (\010 B\021 \n \017 policy_template\032 W\n \020 Net"
224
+ + "workInterface\022 \017 \n \007 network\030 \001 \001 (\t \022 \022 \n \n subnet"
225
+ + "work\030 \002 \001 (\t \022 \036 \n \026 no_external_ip_address\030 \003 \001 "
226
+ + "(\010 \032 e\n \r NetworkPolicy\022 T\n \022 network_interface"
227
+ + "s\030 \001 \003 (\013 28.google.cloud.batch.v1.Allocati"
228
+ + "onPolicy.NetworkInterface\032 <\n \017 PlacementPo"
229
+ + "licy\022 \023 \n \013 collocation\030 \001 \001 (\t \022 \024 \n \014 max_distanc"
230
+ + "e\030 \002 \001 (\003 \032 -\n \013 LabelsEntry\022 \013 \n \003 key\030 \001 \001 (\t \022 \r \n \005 v"
231
+ + "alue\030 \002 \001 (\t :\002 8\001 \" `\n \021 ProvisioningModel\022 \" \n \036 P"
232
+ + "ROVISIONING_MODEL_UNSPECIFIED\020 \000 \022 \014 \n \010 STAND"
233
+ + "ARD\020 \001 \022 \010 \n \004 SPOT\020 \002 \022 \017 \n \013 PREEMPTIBLE\020 \003 \" \201 \003 \n \t Tas"
234
+ + "kGroup\022 \021 \n \004 name\030 \001 \001 (\t B\003 \340 A\003 \022 7\n \t task_spec\030 \003 "
235
+ + " \001 (\013 2\037 .google.cloud.batch.v1.TaskSpecB\003 \340 "
236
+ + "A\002 \022 \022 \n \n task_count\030 \004 \001 (\003 \022 \023 \n \013 parallelism\030 \005 "
237
+ + "\001 (\003 \022 =\n \021 task_environments\030 \t \003 (\013 2\" .google."
238
+ + "cloud.batch.v1.Environment\022 \033 \n \023 task_count"
239
+ + "_per_node\030 \n \001 (\003 \022 \032 \n \022 require_hosts_file\030 \013 "
240
+ + "\001 (\010 \022 \026 \n \016 permissive_ssh\030 \014 \001 (\010 :o\352 Al\n \036 batch."
241
+ + "googleapis.com/TaskGroup\022 Jprojects/{proj"
242
+ + "ect}/locations/{location}/jobs/{job}/tas"
243
+ + "kGroups/{task_group}\" /\n \016 ServiceAccount\022 \r "
244
+ + "\n \005 email\030 \001 \001 (\t \022 \016 \n \006 scopes\030 \002 \003 (\t B\251 \001 \n \031 com.go"
245
+ + "ogle.cloud.batch.v1B\010 JobProtoP\001 Z/cloud.g"
246
+ + "oogle.com/go/batch/apiv1/batchpb;batchpb"
247
+ + "\242 \002 \003 GCB\252 \002 \025 Google.Cloud.Batch.V1\312 \002 \025 Google\\ "
248
+ + "Cloud\\ Batch\\ V1\352 \002 \030 Google::Cloud::Batch::V"
249
+ + "1b\006 proto3"
242
250
};
243
251
descriptor =
244
252
com .google .protobuf .Descriptors .FileDescriptor .internalBuildGeneratedFileFrom (
@@ -347,7 +355,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
347
355
new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
348
356
internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor ,
349
357
new java .lang .String [] {
350
- "Location" , "Instances" , "ServiceAccount" , "Labels" , "Network" ,
358
+ "Location" , "Instances" , "ServiceAccount" , "Labels" , "Network" , "Placement" ,
351
359
});
352
360
internal_static_google_cloud_batch_v1_AllocationPolicy_LocationPolicy_descriptor =
353
361
internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor .getNestedTypes ().get (0 );
@@ -418,8 +426,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
418
426
new java .lang .String [] {
419
427
"NetworkInterfaces" ,
420
428
});
421
- internal_static_google_cloud_batch_v1_AllocationPolicy_LabelsEntry_descriptor =
429
+ internal_static_google_cloud_batch_v1_AllocationPolicy_PlacementPolicy_descriptor =
422
430
internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor .getNestedTypes ().get (8 );
431
+ internal_static_google_cloud_batch_v1_AllocationPolicy_PlacementPolicy_fieldAccessorTable =
432
+ new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
433
+ internal_static_google_cloud_batch_v1_AllocationPolicy_PlacementPolicy_descriptor ,
434
+ new java .lang .String [] {
435
+ "Collocation" , "MaxDistance" ,
436
+ });
437
+ internal_static_google_cloud_batch_v1_AllocationPolicy_LabelsEntry_descriptor =
438
+ internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor .getNestedTypes ().get (9 );
423
439
internal_static_google_cloud_batch_v1_AllocationPolicy_LabelsEntry_fieldAccessorTable =
424
440
new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
425
441
internal_static_google_cloud_batch_v1_AllocationPolicy_LabelsEntry_descriptor ,
0 commit comments