You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java
+65-14Lines changed: 65 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,8 @@
16
16
packagecom.google.cloud.bigtable.admin.v2.models;
17
17
18
18
importcom.google.api.core.InternalApi;
19
-
importcom.google.bigtable.admin.v2.Cluster.State;
20
19
importcom.google.bigtable.admin.v2.ClusterName;
21
20
importcom.google.bigtable.admin.v2.LocationName;
22
-
importcom.google.bigtable.admin.v2.StorageType;
23
21
importcom.google.common.base.Objects;
24
22
importcom.google.common.base.Preconditions;
25
23
importcom.google.common.base.Verify;
@@ -32,8 +30,63 @@
32
30
* in the instance.
33
31
*/
34
32
publicclassCluster {
33
+
publicenumState {
34
+
/** The state of the cluster could not be determined. */
Copy file name to clipboardExpand all lines: google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java
Copy file name to clipboardExpand all lines: google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java
+21-17Lines changed: 21 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@
18
18
importcom.google.api.core.InternalApi;
19
19
importcom.google.bigtable.admin.v2.Instance.Type;
20
20
importcom.google.bigtable.admin.v2.ProjectName;
21
-
importcom.google.bigtable.admin.v2.StorageType;
22
21
importcom.google.common.base.Preconditions;
23
22
importcom.google.common.collect.Lists;
24
23
importjava.util.List;
@@ -31,13 +30,13 @@
31
30
* which do all of the real work. Instances come in 2 flavors:
32
31
*
33
32
* <dl>
34
-
* <dt>Production
35
-
* <dd>A standard instance with either 1 or 2 clusters, as well as 3 or more nodes in each cluster.
36
-
* You cannot downgrade a production instance to a development instance.
33
+
* <dt>Production
34
+
* <dd>A standard instance with either 1 or 2 clusters, as well as 3 or more nodes in each cluster.
35
+
* You cannot downgrade a production instance to a development instance.
37
36
*
38
-
* <dt>Development
39
-
* <dd>A low-cost instance for development and testing, with performance limited to the equivalent
40
-
* of a 1-node cluster. Development instances only support a single 1 node cluster.
37
+
* <dt>Development
38
+
* <dd>A low-cost instance for development and testing, with performance limited to the equivalent
39
+
* of a 1-node cluster. Development instances only support a single 1 node cluster.
41
40
* </dl>
42
41
*
43
42
* When creating an Instance, you must create at least one cluster in it.
@@ -56,7 +55,8 @@
56
55
*
57
56
* }</pre>
58
57
*
59
-
* @see <a href="https://cloud.google.com/bigtable/docs/instances-clusters-nodes#instances">For more details</a>
58
+
* @see <a href="https://cloud.google.com/bigtable/docs/instances-clusters-nodes#instances">For more
0 commit comments