@@ -244,15 +244,16 @@ enum OperationField {
244
244
NAME ("name" ),
245
245
OPERATION_TYPE ("operationType" ),
246
246
PROGRESS ("progress" ),
247
+ REGION ("region" ),
247
248
SELF_LINK ("selfLink" ),
248
249
START_TIME ("startTime" ),
249
250
STATUS ("status" ),
250
251
STATUS_MESSAGE ("statusMessage" ),
251
- REGION ("region" ),
252
252
TARGET_ID ("targetId" ),
253
253
TARGET_LINK ("targetLink" ),
254
254
USER ("user" ),
255
- WARNINGS ("warnings" );
255
+ WARNINGS ("warnings" ),
256
+ ZONE ("zone" );
256
257
257
258
private final String selector ;
258
259
@@ -292,7 +293,7 @@ enum ComparisonOperator {
292
293
EQ ,
293
294
294
295
/**
295
- * Defines an inequality filter.
296
+ * Defines a not-equals filter.
296
297
*/
297
298
NE
298
299
}
@@ -350,7 +351,7 @@ public static DiskTypeFilter equals(DiskTypeField field, String value) {
350
351
}
351
352
352
353
/**
353
- * Returns an equality filter for the given field and string value. For string fields,
354
+ * Returns a not-equals filter for the given field and string value. For string fields,
354
355
* {@code value} is interpreted as a regular expression using RE2 syntax. {@code value} must
355
356
* match the entire field.
356
357
*
@@ -368,7 +369,7 @@ public static DiskTypeFilter equals(DiskTypeField field, long value) {
368
369
}
369
370
370
371
/**
371
- * Returns an inequality filter for the given field and long value.
372
+ * Returns a not-equals filter for the given field and long value.
372
373
*/
373
374
public static DiskTypeFilter notEquals (DiskTypeField field , long value ) {
374
375
return new DiskTypeFilter (checkNotNull (field ), ComparisonOperator .NE , value );
@@ -398,7 +399,7 @@ public static MachineTypeFilter equals(MachineTypeField field, String value) {
398
399
}
399
400
400
401
/**
401
- * Returns an equality filter for the given field and string value. For string fields,
402
+ * Returns a not-equals filter for the given field and string value. For string fields,
402
403
* {@code value} is interpreted as a regular expression using RE2 syntax. {@code value} must
403
404
* match the entire field.
404
405
*
@@ -416,7 +417,7 @@ public static MachineTypeFilter equals(MachineTypeField field, long value) {
416
417
}
417
418
418
419
/**
419
- * Returns an inequality filter for the given field and long value.
420
+ * Returns a not-equals filter for the given field and long value.
420
421
*/
421
422
public static MachineTypeFilter notEquals (MachineTypeField field , long value ) {
422
423
return new MachineTypeFilter (checkNotNull (field ), ComparisonOperator .NE , value );
@@ -446,7 +447,7 @@ public static RegionFilter equals(RegionField field, String value) {
446
447
}
447
448
448
449
/**
449
- * Returns an equality filter for the given field and string value. For string fields,
450
+ * Returns a not-equals filter for the given field and string value. For string fields,
450
451
* {@code value} is interpreted as a regular expression using RE2 syntax. {@code value} must
451
452
* match the entire field.
452
453
*
@@ -480,7 +481,7 @@ public static ZoneFilter equals(ZoneField field, String value) {
480
481
}
481
482
482
483
/**
483
- * Returns an equality filter for the given field and string value. For string fields,
484
+ * Returns a not-equals filter for the given field and string value. For string fields,
484
485
* {@code value} is interpreted as a regular expression using RE2 syntax. {@code value} must
485
486
* match the entire field.
486
487
*
@@ -514,7 +515,7 @@ public static OperationFilter equals(OperationField field, String value) {
514
515
}
515
516
516
517
/**
517
- * Returns an equality filter for the given field and string value. For string fields,
518
+ * Returns a not-equals filter for the given field and string value. For string fields,
518
519
* {@code value} is interpreted as a regular expression using RE2 syntax. {@code value} must
519
520
* match the entire field.
520
521
*
@@ -532,7 +533,7 @@ public static OperationFilter equals(OperationField field, long value) {
532
533
}
533
534
534
535
/**
535
- * Returns an inequality filter for the given field and long value.
536
+ * Returns a not-equals filter for the given field and long value.
536
537
*/
537
538
public static OperationFilter notEquals (OperationField field , long value ) {
538
539
return new OperationFilter (checkNotNull (field ), ComparisonOperator .NE , value );
@@ -546,7 +547,7 @@ public static OperationFilter equals(OperationField field, int value) {
546
547
}
547
548
548
549
/**
549
- * Returns an inequality filter for the given field and integer value.
550
+ * Returns a not-equals filter for the given field and integer value.
550
551
*/
551
552
public static OperationFilter notEquals (OperationField field , int value ) {
552
553
return new OperationFilter (checkNotNull (field ), ComparisonOperator .NE , value );
@@ -566,8 +567,8 @@ private DiskTypeOption(ComputeRpc.Option option, Object value) {
566
567
567
568
/**
568
569
* Returns an option to specify the disk type's fields to be returned by the RPC call. If this
569
- * option is not provided all disk type's fields are returned. {@code DiskTypeOption.fields} can
570
- * be used to specify only the fields of interest. {@link DiskType#diskTypeId()} is always
570
+ * option is not provided, all disk type's fields are returned. {@code DiskTypeOption.fields}
571
+ * can be used to specify only the fields of interest. {@link DiskType#diskTypeId()} is always
571
572
* returned, even if not specified.
572
573
*/
573
574
public static DiskTypeOption fields (DiskTypeField ... fields ) {
@@ -587,7 +588,7 @@ private DiskTypeListOption(ComputeRpc.Option option, Object value) {
587
588
}
588
589
589
590
/**
590
- * Returns an option to specify a filter to the disk types being listed.
591
+ * Returns an option to specify a filter on the disk types being listed.
591
592
*/
592
593
public static DiskTypeListOption filter (DiskTypeFilter filter ) {
593
594
return new DiskTypeListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -609,9 +610,9 @@ public static DiskTypeListOption startPageToken(String pageToken) {
609
610
610
611
/**
611
612
* Returns an option to specify the disk type's fields to be returned by the RPC call. If this
612
- * option is not provided all disk type's fields are returned. {@code DiskTypeListOption.fields}
613
- * can be used to specify only the fields of interest. {@link DiskType#diskTypeId()} is always
614
- * returned, even if not specified.
613
+ * option is not provided, all disk type's fields are returned.
614
+ * {@code DiskTypeListOption.fields} can be used to specify only the fields of interest.
615
+ * {@link DiskType#diskTypeId()} is always returned, even if not specified.
615
616
*/
616
617
public static DiskTypeListOption fields (DiskTypeField ... fields ) {
617
618
StringBuilder builder = new StringBuilder ();
@@ -632,7 +633,7 @@ private DiskTypeAggregatedListOption(ComputeRpc.Option option, Object value) {
632
633
}
633
634
634
635
/**
635
- * Returns an option to specify a filter to the disk types being listed.
636
+ * Returns an option to specify a filter on the disk types being listed.
636
637
*/
637
638
public static DiskTypeAggregatedListOption filter (DiskTypeFilter filter ) {
638
639
return new DiskTypeAggregatedListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -666,7 +667,7 @@ private MachineTypeOption(ComputeRpc.Option option, Object value) {
666
667
667
668
/**
668
669
* Returns an option to specify the machine type's fields to be returned by the RPC call. If
669
- * this option is not provided all machine type's fields are returned.
670
+ * this option is not provided, all machine type's fields are returned.
670
671
* {@code MachineTypeOption.fields} can be used to specify only the fields of interest.
671
672
* {@link MachineType#machineTypeId()} is always returned, even if not specified.
672
673
*/
@@ -687,7 +688,7 @@ private MachineTypeListOption(ComputeRpc.Option option, Object value) {
687
688
}
688
689
689
690
/**
690
- * Returns an option to specify a filter to the machine types being listed.
691
+ * Returns an option to specify a filter on the machine types being listed.
691
692
*/
692
693
public static MachineTypeListOption filter (MachineTypeFilter filter ) {
693
694
return new MachineTypeListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -709,7 +710,7 @@ public static MachineTypeListOption startPageToken(String pageToken) {
709
710
710
711
/**
711
712
* Returns an option to specify the machine type's fields to be returned by the RPC call. If
712
- * this option is not provided all machine type's fields are returned.
713
+ * this option is not provided, all machine type's fields are returned.
713
714
* {@code MachineTypeListOption.fields} can be used to specify only the fields of interest.
714
715
* {@link MachineType#machineTypeId()} is always returned, even if not specified.
715
716
*/
@@ -732,7 +733,7 @@ private MachineTypeAggregatedListOption(ComputeRpc.Option option, Object value)
732
733
}
733
734
734
735
/**
735
- * Returns an option to specify a filter to the machine types being listed.
736
+ * Returns an option to specify a filter on the machine types being listed.
736
737
*/
737
738
public static MachineTypeAggregatedListOption filter (MachineTypeFilter filter ) {
738
739
return new MachineTypeAggregatedListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -766,7 +767,7 @@ private RegionOption(ComputeRpc.Option option, Object value) {
766
767
767
768
/**
768
769
* Returns an option to specify the region's fields to be returned by the RPC call. If this
769
- * option is not provided all region's fields are returned. {@code RegionOption.fields} can be
770
+ * option is not provided, all region's fields are returned. {@code RegionOption.fields} can be
770
771
* used to specify only the fields of interest. {@link Region#regionId()} is always
771
772
* returned, even if not specified.
772
773
*/
@@ -787,7 +788,7 @@ private RegionListOption(ComputeRpc.Option option, Object value) {
787
788
}
788
789
789
790
/**
790
- * Returns an option to specify a filter to the regions being listed.
791
+ * Returns an option to specify a filter on the regions being listed.
791
792
*/
792
793
public static RegionListOption filter (RegionFilter filter ) {
793
794
return new RegionListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -809,7 +810,7 @@ public static RegionListOption startPageToken(String pageToken) {
809
810
810
811
/**
811
812
* Returns an option to specify the region's fields to be returned by the RPC call. If this
812
- * option is not provided all region's fields are returned. {@code RegionListOption.fields} can
813
+ * option is not provided, all region's fields are returned. {@code RegionListOption.fields} can
813
814
* be used to specify only the fields of interest. {@link Region#regionId()} is always
814
815
* returned, even if not specified.
815
816
*/
@@ -833,7 +834,7 @@ private ZoneOption(ComputeRpc.Option option, Object value) {
833
834
834
835
/**
835
836
* Returns an option to specify the zone's fields to be returned by the RPC call. If this option
836
- * is not provided all zone's fields are returned. {@code ZoneOption.fields} can be used to
837
+ * is not provided, all zone's fields are returned. {@code ZoneOption.fields} can be used to
837
838
* specify only the fields of interest. {@link Zone#zoneId()} is always returned, even if
838
839
* not specified.
839
840
*/
@@ -854,7 +855,7 @@ private ZoneListOption(ComputeRpc.Option option, Object value) {
854
855
}
855
856
856
857
/**
857
- * Returns an option to specify a filter to the zones being listed.
858
+ * Returns an option to specify a filter on the zones being listed.
858
859
*/
859
860
public static ZoneListOption filter (ZoneFilter filter ) {
860
861
return new ZoneListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -876,7 +877,7 @@ public static ZoneListOption startPageToken(String pageToken) {
876
877
877
878
/**
878
879
* Returns an option to specify the zone's fields to be returned by the RPC call. If this option
879
- * is not provided all zone's fields are returned. {@code ZoneListOption.fields} can be used to
880
+ * is not provided, all zone's fields are returned. {@code ZoneListOption.fields} can be used to
880
881
* specify only the fields of interest. {@link Zone#zoneId()} is always returned, even if
881
882
* not specified.
882
883
*/
@@ -900,9 +901,9 @@ private LicenseOption(ComputeRpc.Option option, Object value) {
900
901
901
902
/**
902
903
* Returns an option to specify the license's fields to be returned by the RPC call. If this
903
- * option is not provided all license's fields are returned. {@code LicenseOption.fields} can be
904
- * used to specify only the fields of interest. {@link License#licenseId()} is always returned,
905
- * even if not specified.
904
+ * option is not provided, all license's fields are returned. {@code LicenseOption.fields} can
905
+ * be used to specify only the fields of interest. {@link License#licenseId()} is always
906
+ * returned, even if not specified.
906
907
*/
907
908
public static LicenseOption fields (LicenseField ... fields ) {
908
909
return new LicenseOption (ComputeRpc .Option .FIELDS , LicenseField .selector (fields ));
@@ -922,7 +923,7 @@ private OperationOption(ComputeRpc.Option option, Object value) {
922
923
923
924
/**
924
925
* Returns an option to specify the operation's fields to be returned by the RPC call. If this
925
- * option is not provided all operation's fields are returned. {@code OperationOption.fields}
926
+ * option is not provided, all operation's fields are returned. {@code OperationOption.fields}
926
927
* can be used to specify only the fields of interest. {@link Operation#operationId()} is
927
928
* always returned, even if not specified.
928
929
*/
@@ -943,7 +944,7 @@ private OperationListOption(ComputeRpc.Option option, Object value) {
943
944
}
944
945
945
946
/**
946
- * Returns an option to specify a filter to the operations being listed.
947
+ * Returns an option to specify a filter on the operations being listed.
947
948
*/
948
949
public static OperationListOption filter (OperationFilter filter ) {
949
950
return new OperationListOption (ComputeRpc .Option .FILTER , filter .toPb ());
@@ -965,7 +966,7 @@ public static OperationListOption startPageToken(String pageToken) {
965
966
966
967
/**
967
968
* Returns an option to specify the operation's fields to be returned by the RPC call. If this
968
- * option is not provided all operation's fields are returned.
969
+ * option is not provided, all operation's fields are returned.
969
970
* {@code OperationListOption.fields} can be used to specify only the fields of interest.
970
971
* {@link Operation#operationId()} is always returned, even if not specified.
971
972
*/
0 commit comments