public static final class CreateClusterRequest.Builder extends GeneratedMessageV3.Builder<CreateClusterRequest.Builder> implements CreateClusterRequestOrBuilder
Request message for BigtableInstanceAdmin.CreateCluster.
Protobuf type google.bigtable.admin.v2.CreateClusterRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateClusterRequest build()
Returns
buildPartial()
public CreateClusterRequest buildPartial()
Returns
clear()
public CreateClusterRequest.Builder clear()
Returns
Overrides
clearCluster()
public CreateClusterRequest.Builder clearCluster()
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
clearClusterId()
public CreateClusterRequest.Builder clearClusterId()
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
clearField(Descriptors.FieldDescriptor field)
public CreateClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateClusterRequest.Builder clearParent()
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
clone()
public CreateClusterRequest.Builder clone()
Returns
Overrides
getCluster()
public 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
getClusterBuilder()
public Cluster.Builder getClusterBuilder()
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
getClusterId()
public 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
Type | Description |
String | The clusterId.
|
getClusterIdBytes()
public 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
getClusterOrBuilder()
public 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];
Returns
getDefaultInstanceForType()
public CreateClusterRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public 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
Type | Description |
String | The parent.
|
getParentBytes()
public 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
hasCluster()
public 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
Type | Description |
boolean | Whether the cluster field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCluster(Cluster value)
public CreateClusterRequest.Builder mergeCluster(Cluster value)
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];
Parameter
Returns
mergeFrom(CreateClusterRequest other)
public CreateClusterRequest.Builder mergeFrom(CreateClusterRequest other)
Parameter
Returns
public CreateClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateClusterRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCluster(Cluster value)
public CreateClusterRequest.Builder setCluster(Cluster value)
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];
Parameter
Returns
setCluster(Cluster.Builder builderForValue)
public CreateClusterRequest.Builder setCluster(Cluster.Builder builderForValue)
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];
Parameter
Returns
setClusterId(String value)
public CreateClusterRequest.Builder setClusterId(String value)
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];
Parameter
Name | Description |
value | String
The clusterId to set.
|
Returns
setClusterIdBytes(ByteString value)
public CreateClusterRequest.Builder setClusterIdBytes(ByteString value)
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];
Parameter
Name | Description |
value | ByteString
The bytes for clusterId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateClusterRequest.Builder setParent(String value)
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) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateClusterRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides