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
* <p>A cluster represents the actual Cloud Bigtable service. Each cluster belongs to a single Cloud
28
-
* Bigtable instance. When your application sends requests to a Cloud Bigtable instance, those
30
+
* <p>A cluster represents the actual Cloud Bigtable service. Each cluster belongs to a single
31
+
* Cloud Bigtable instance. When your application sends requests to a Cloud Bigtable instance, those
29
32
* requests are actually handled by one of the clusters in the instance.
30
33
*
31
34
* <p>Each cluster is located in a single zone. An instance's clusters must be in unique zones that
32
35
* are within the same region. For example, if the first cluster is in us-east1-b, then us-east1-c
33
36
* is a valid zone for the second cluster. For a list of zones and regions where Cloud Bigtable is
34
-
* available, see <a href="https://cloud.google.com/bigtable/docs/locations">Cloud Bigtable Locations</a>.
37
+
* available, see <a href="https://cloud.google.com/bigtable/docs/locations">Cloud Bigtable
38
+
* Locations</a>.
35
39
*
36
40
*
37
41
* Examples:
@@ -44,7 +48,8 @@
44
48
* .setStorageType(StorageType.SSD);
45
49
* }</pre>
46
50
*
47
-
* @see <a href="https://cloud.google.com/bigtable/docs/instances-clusters-nodes#clusters">For more details</a>
51
+
* @see <a href="https://cloud.google.com/bigtable/docs/instances-clusters-nodes#clusters">For more
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
@@ -107,7 +107,8 @@ public CreateInstanceRequest setType(@Nonnull Type type) {
107
107
* <p>Labels are key-value pairs that you can use to group related instances and store metadata
108
108
* about an instance.
109
109
*
110
-
* @see <a href="https://cloud.google.com/bigtable/docs/creating-managing-labels">For more details</a>
110
+
* @see <a href="https://cloud.google.com/bigtable/docs/creating-managing-labels">For more
0 commit comments