@@ -458,7 +458,7 @@ public Page<Instance> getNextPage() {
458458
459459 ComputeImpl (ComputeOptions options ) {
460460 super (options );
461- computeRpc = options .getComputeRpc ();
461+ computeRpc = options .getComputeRpcV1 ();
462462 }
463463
464464 @ Override
@@ -497,7 +497,7 @@ private static Page<DiskType> listDiskTypes(final String zone,
497497 @ Override
498498 public ComputeRpc .Tuple <String ,
499499 Iterable <com .google .api .services .compute .model .DiskType >> call () {
500- return serviceOptions .getComputeRpc ().listDiskTypes (zone , optionsMap );
500+ return serviceOptions .getComputeRpcV1 ().listDiskTypes (zone , optionsMap );
501501 }
502502 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
503503 String cursor = result .x ();
@@ -531,7 +531,7 @@ private static Page<DiskType> listDiskTypes(final ComputeOptions serviceOptions,
531531 @ Override
532532 public ComputeRpc .Tuple <String ,
533533 Iterable <com .google .api .services .compute .model .DiskType >> call () {
534- return serviceOptions .getComputeRpc ().listDiskTypes (optionsMap );
534+ return serviceOptions .getComputeRpcV1 ().listDiskTypes (optionsMap );
535535 }
536536 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
537537 String cursor = result .x ();
@@ -586,7 +586,7 @@ private static Page<MachineType> listMachineTypes(final String zone,
586586 @ Override
587587 public ComputeRpc .Tuple <String ,
588588 Iterable <com .google .api .services .compute .model .MachineType >> call () {
589- return serviceOptions .getComputeRpc ().listMachineTypes (zone , optionsMap );
589+ return serviceOptions .getComputeRpcV1 ().listMachineTypes (zone , optionsMap );
590590 }
591591 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
592592 String cursor = result .x ();
@@ -621,7 +621,7 @@ private static Page<MachineType> listMachineTypes(final ComputeOptions serviceOp
621621 @ Override
622622 public ComputeRpc .Tuple <String ,
623623 Iterable <com .google .api .services .compute .model .MachineType >> call () {
624- return serviceOptions .getComputeRpc ().listMachineTypes (optionsMap );
624+ return serviceOptions .getComputeRpcV1 ().listMachineTypes (optionsMap );
625625 }
626626 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
627627 String cursor = result .x ();
@@ -672,7 +672,7 @@ private static Page<Region> listRegions(final ComputeOptions serviceOptions,
672672 @ Override
673673 public ComputeRpc .Tuple <String ,
674674 Iterable <com .google .api .services .compute .model .Region >> call () {
675- return serviceOptions .getComputeRpc ().listRegions (optionsMap );
675+ return serviceOptions .getComputeRpcV1 ().listRegions (optionsMap );
676676 }
677677 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
678678 String cursor = result .x ();
@@ -723,7 +723,7 @@ private static Page<Zone> listZones(final ComputeOptions serviceOptions,
723723 @ Override
724724 public ComputeRpc .Tuple <String ,
725725 Iterable <com .google .api .services .compute .model .Zone >> call () {
726- return serviceOptions .getComputeRpc ().listZones (optionsMap );
726+ return serviceOptions .getComputeRpcV1 ().listZones (optionsMap );
727727 }
728728 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
729729 String cursor = result .x ();
@@ -820,7 +820,7 @@ private static Page<Operation> listGlobalOperations(final ComputeOptions service
820820 @ Override
821821 public ComputeRpc .Tuple <String ,
822822 Iterable <com .google .api .services .compute .model .Operation >> call () {
823- return serviceOptions .getComputeRpc ().listGlobalOperations (optionsMap );
823+ return serviceOptions .getComputeRpcV1 ().listGlobalOperations (optionsMap );
824824 }
825825 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
826826 String cursor = result .x ();
@@ -848,7 +848,7 @@ private static Page<Operation> listRegionOperations(final String region,
848848 @ Override
849849 public ComputeRpc .Tuple <String ,
850850 Iterable <com .google .api .services .compute .model .Operation >> call () {
851- return serviceOptions .getComputeRpc ().listRegionOperations (region , optionsMap );
851+ return serviceOptions .getComputeRpcV1 ().listRegionOperations (region , optionsMap );
852852 }
853853 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
854854 String cursor = result .x ();
@@ -876,7 +876,7 @@ private static Page<Operation> listZoneOperations(final String zone,
876876 @ Override
877877 public ComputeRpc .Tuple <String ,
878878 Iterable <com .google .api .services .compute .model .Operation >> call () {
879- return serviceOptions .getComputeRpc ().listZoneOperations (zone , optionsMap );
879+ return serviceOptions .getComputeRpcV1 ().listZoneOperations (zone , optionsMap );
880880 }
881881 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
882882 String cursor = result .x ();
@@ -994,7 +994,7 @@ private static Page<Address> listGlobalAddresses(final ComputeOptions serviceOpt
994994 @ Override
995995 public ComputeRpc .Tuple <String ,
996996 Iterable <com .google .api .services .compute .model .Address >> call () {
997- return serviceOptions .getComputeRpc ().listGlobalAddresses (optionsMap );
997+ return serviceOptions .getComputeRpcV1 ().listGlobalAddresses (optionsMap );
998998 }
999999 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
10001000 String cursor = result .x ();
@@ -1022,7 +1022,7 @@ private static Page<Address> listRegionAddresses(final String region,
10221022 @ Override
10231023 public ComputeRpc .Tuple <String ,
10241024 Iterable <com .google .api .services .compute .model .Address >> call () {
1025- return serviceOptions .getComputeRpc ().listRegionAddresses (region , optionsMap );
1025+ return serviceOptions .getComputeRpcV1 ().listRegionAddresses (region , optionsMap );
10261026 }
10271027 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
10281028 String cursor = result .x ();
@@ -1050,7 +1050,7 @@ private static Page<Address> listAddresses(final ComputeOptions serviceOptions,
10501050 @ Override
10511051 public ComputeRpc .Tuple <String ,
10521052 Iterable <com .google .api .services .compute .model .Address >> call () {
1053- return serviceOptions .getComputeRpc ().listAddresses (optionsMap );
1053+ return serviceOptions .getComputeRpcV1 ().listAddresses (optionsMap );
10541054 }
10551055 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
10561056 String cursor = result .x ();
@@ -1148,7 +1148,7 @@ private static Page<Snapshot> listSnapshots(final ComputeOptions serviceOptions,
11481148 @ Override
11491149 public ComputeRpc .Tuple <String ,
11501150 Iterable <com .google .api .services .compute .model .Snapshot >> call () {
1151- return serviceOptions .getComputeRpc ().listSnapshots (optionsMap );
1151+ return serviceOptions .getComputeRpcV1 ().listSnapshots (optionsMap );
11521152 }
11531153 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
11541154 String cursor = result .x ();
@@ -1246,7 +1246,7 @@ private static Page<Image> listImages(final String project, final ComputeOptions
12461246 @ Override
12471247 public ComputeRpc .Tuple <String ,
12481248 Iterable <com .google .api .services .compute .model .Image >> call () {
1249- return serviceOptions .getComputeRpc ().listImages (project , optionsMap );
1249+ return serviceOptions .getComputeRpcV1 ().listImages (project , optionsMap );
12501250 }
12511251 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
12521252 String cursor = result .x ();
@@ -1364,7 +1364,7 @@ private static Page<Disk> listDisks(final String zone, final ComputeOptions serv
13641364 @ Override
13651365 public ComputeRpc .Tuple <String ,
13661366 Iterable <com .google .api .services .compute .model .Disk >> call () {
1367- return serviceOptions .getComputeRpc ().listDisks (zone , optionsMap );
1367+ return serviceOptions .getComputeRpcV1 ().listDisks (zone , optionsMap );
13681368 }
13691369 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
13701370 String cursor = result .x ();
@@ -1392,7 +1392,7 @@ private static Page<Disk> listDisks(final ComputeOptions serviceOptions,
13921392 @ Override
13931393 public ComputeRpc .Tuple <String ,
13941394 Iterable <com .google .api .services .compute .model .Disk >> call () {
1395- return serviceOptions .getComputeRpc ().listDisks (optionsMap );
1395+ return serviceOptions .getComputeRpcV1 ().listDisks (optionsMap );
13961396 }
13971397 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
13981398 String cursor = result .x ();
@@ -1501,7 +1501,7 @@ private static Page<Subnetwork> listSubnetworks(final String region,
15011501 @ Override
15021502 public ComputeRpc .Tuple <String ,
15031503 Iterable <com .google .api .services .compute .model .Subnetwork >> call () {
1504- return serviceOptions .getComputeRpc ().listSubnetworks (region , optionsMap );
1504+ return serviceOptions .getComputeRpcV1 ().listSubnetworks (region , optionsMap );
15051505 }
15061506 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
15071507 String cursor = result .x ();
@@ -1529,7 +1529,7 @@ private static Page<Subnetwork> listSubnetworks(final ComputeOptions serviceOpti
15291529 @ Override
15301530 public ComputeRpc .Tuple <String ,
15311531 Iterable <com .google .api .services .compute .model .Subnetwork >> call () {
1532- return serviceOptions .getComputeRpc ().listSubnetworks (optionsMap );
1532+ return serviceOptions .getComputeRpcV1 ().listSubnetworks (optionsMap );
15331533 }
15341534 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
15351535 String cursor = result .x ();
@@ -1610,7 +1610,7 @@ private static Page<Network> listNetworks(final ComputeOptions serviceOptions,
16101610 @ Override
16111611 public ComputeRpc .Tuple <String ,
16121612 Iterable <com .google .api .services .compute .model .Network >> call () {
1613- return serviceOptions .getComputeRpc ().listNetworks (optionsMap );
1613+ return serviceOptions .getComputeRpcV1 ().listNetworks (optionsMap );
16141614 }
16151615 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
16161616 String cursor = result .x ();
@@ -1712,7 +1712,7 @@ private static Page<Instance> listInstances(final String zone,
17121712 @ Override
17131713 public ComputeRpc .Tuple <String ,
17141714 Iterable <com .google .api .services .compute .model .Instance >> call () {
1715- return serviceOptions .getComputeRpc ().listInstances (zone , optionsMap );
1715+ return serviceOptions .getComputeRpcV1 ().listInstances (zone , optionsMap );
17161716 }
17171717 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
17181718 String cursor = result .x ();
@@ -1740,7 +1740,7 @@ private static Page<Instance> listInstances(final ComputeOptions serviceOptions,
17401740 @ Override
17411741 public ComputeRpc .Tuple <String ,
17421742 Iterable <com .google .api .services .compute .model .Instance >> call () {
1743- return serviceOptions .getComputeRpc ().listInstances (optionsMap );
1743+ return serviceOptions .getComputeRpcV1 ().listInstances (optionsMap );
17441744 }
17451745 }, serviceOptions .getRetryParams (), EXCEPTION_HANDLER , serviceOptions .getClock ());
17461746 String cursor = result .x ();
0 commit comments