public final class CreateClusterRequest extends GeneratedMessageV3 implements CreateClusterRequestOrBuilder
Request message for BigtableInstanceAdmin.CreateCluster.
Protobuf type google.bigtable.admin.v2.CreateClusterRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateClusterRequestImplements
CreateClusterRequestOrBuilderStatic Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Type | Description |
int |
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateClusterRequest getDefaultInstance()
Type | Description |
CreateClusterRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CreateClusterRequest.Builder newBuilder()
Type | Description |
CreateClusterRequest.Builder |
newBuilder(CreateClusterRequest prototype)
public static CreateClusterRequest.Builder newBuilder(CreateClusterRequest prototype)
Name | Description |
prototype | CreateClusterRequest |
Type | Description |
CreateClusterRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateClusterRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateClusterRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateClusterRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateClusterRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateClusterRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CreateClusterRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateClusterRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateClusterRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateClusterRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CreateClusterRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateClusterRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateClusterRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateClusterRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CreateClusterRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateClusterRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateClusterRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateClusterRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateClusterRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateClusterRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateClusterRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateClusterRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CreateClusterRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateClusterRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateClusterRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateClusterRequest> parser()
Type | Description |
Parser<CreateClusterRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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];
Type | Description |
Cluster | The cluster. |
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];
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];
Type | Description |
ByteString | The bytes for clusterId. |
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];
Type | Description |
ClusterOrBuilder |
getDefaultInstanceForType()
public CreateClusterRequest getDefaultInstanceForType()
Type | Description |
CreateClusterRequest |
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<CreateClusterRequest> getParserForType()
Type | Description |
Parser<CreateClusterRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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];
Type | Description |
boolean | Whether the cluster field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CreateClusterRequest.Builder newBuilderForType()
Type | Description |
CreateClusterRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateClusterRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CreateClusterRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CreateClusterRequest.Builder toBuilder()
Type | Description |
CreateClusterRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |