Package com.google.bigtable.admin.v2
Interface CreateClusterRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateClusterRequest,CreateClusterRequest.Builder
public interface CreateClusterRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getClusterId
String getClusterId()Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterId.
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterId.
-
hasCluster
boolean hasCluster()Required. The cluster to be created. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the cluster field is set.
-
getCluster
Cluster getCluster()Required. The cluster to be created. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterOrBuilder getClusterOrBuilder()Required. The cluster to be created. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
-