Skip to content

Commit 6ad1254

Browse files
committed
---
yaml --- r: 4855 b: refs/heads/logging-alpha c: 29f2bad h: refs/heads/master i: 4853: a704a52 4851: de02469 4847: 7643080
1 parent 83906b9 commit 6ad1254

4 files changed

Lines changed: 299 additions & 38 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
1414
refs/heads/gcs-nio: 283aeaf15efdcf3621eb6859f05e55ad7764375d
15-
refs/heads/logging-alpha: 091d7a89b1d167d5e43bfc9ec69ca7876c3aac72
15+
refs/heads/logging-alpha: 29f2bad1d0e0a4cbad74688ed9e38625f598760b
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0
1818
refs/tags/v0.1.2: 3eb3fe866ba22487686048f45d927b8c8638ea3f

branches/logging-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/Compute.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@ public static DiskTypeListOption filter(DiskTypeFilter filter) {
597597
/**
598598
* Returns an option to specify the maximum number of disk types to be returned.
599599
*/
600-
public static DiskTypeListOption maxResults(long maxResults) {
601-
return new DiskTypeListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
600+
public static DiskTypeListOption pageSize(long pageSize) {
601+
return new DiskTypeListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
602602
}
603603

604604
/**
@@ -642,8 +642,8 @@ public static DiskTypeAggregatedListOption filter(DiskTypeFilter filter) {
642642
/**
643643
* Returns an option to specify the maximum number of disk types to be returned.
644644
*/
645-
public static DiskTypeAggregatedListOption maxResults(long maxResults) {
646-
return new DiskTypeAggregatedListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
645+
public static DiskTypeAggregatedListOption pageSize(long pageSize) {
646+
return new DiskTypeAggregatedListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
647647
}
648648

649649
/**
@@ -697,8 +697,8 @@ public static MachineTypeListOption filter(MachineTypeFilter filter) {
697697
/**
698698
* Returns an option to specify the maximum number of machine types to be returned.
699699
*/
700-
public static MachineTypeListOption maxResults(long maxResults) {
701-
return new MachineTypeListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
700+
public static MachineTypeListOption pageSize(long pageSize) {
701+
return new MachineTypeListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
702702
}
703703

704704
/**
@@ -742,8 +742,8 @@ public static MachineTypeAggregatedListOption filter(MachineTypeFilter filter) {
742742
/**
743743
* Returns an option to specify the maximum number of machine types to be returned.
744744
*/
745-
public static MachineTypeAggregatedListOption maxResults(long maxResults) {
746-
return new MachineTypeAggregatedListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
745+
public static MachineTypeAggregatedListOption pageSize(long pageSize) {
746+
return new MachineTypeAggregatedListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
747747
}
748748

749749
/**
@@ -797,8 +797,8 @@ public static RegionListOption filter(RegionFilter filter) {
797797
/**
798798
* Returns an option to specify the maximum number of regions to be returned.
799799
*/
800-
public static RegionListOption maxResults(long maxResults) {
801-
return new RegionListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
800+
public static RegionListOption pageSize(long pageSize) {
801+
return new RegionListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
802802
}
803803

804804
/**
@@ -864,8 +864,8 @@ public static ZoneListOption filter(ZoneFilter filter) {
864864
/**
865865
* Returns an option to specify the maximum number of zones to be returned.
866866
*/
867-
public static ZoneListOption maxResults(long maxResults) {
868-
return new ZoneListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
867+
public static ZoneListOption pageSize(long pageSize) {
868+
return new ZoneListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
869869
}
870870

871871
/**
@@ -953,8 +953,8 @@ public static OperationListOption filter(OperationFilter filter) {
953953
/**
954954
* Returns an option to specify the maximum number of operations to be returned.
955955
*/
956-
public static OperationListOption maxResults(long maxResults) {
957-
return new OperationListOption(ComputeRpc.Option.MAX_RESULTS, maxResults);
956+
public static OperationListOption pageSize(long pageSize) {
957+
return new OperationListOption(ComputeRpc.Option.MAX_RESULTS, pageSize);
958958
}
959959

960960
/**

branches/logging-alpha/gcloud-java-compute/src/main/java/com/google/gcloud/compute/Operation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* Google Compute Engine operations. Operation identity can be obtained via {@link #operationId()}.
4141
* {@link #operationId()} returns {@link GlobalOperationId} for global operations,
4242
* {@link RegionOperationId} for region operations, and {@link ZoneOperationId} for zone operations.
43-
* To get an {@code Operation} object with the most recent information use
43+
* To get an {@code Operation} object with the most recent information, use
4444
* {@link #reload(Compute.OperationOption...)}.
4545
*/
4646
public final class Operation implements Serializable {

0 commit comments

Comments
 (0)