public final class CreateTableFromSnapshotRequest extends GeneratedMessageV3 implements CreateTableFromSnapshotRequestOrBuilder
Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Protobuf type google.bigtable.admin.v2.CreateTableFromSnapshotRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateTableFromSnapshotRequestImplements
CreateTableFromSnapshotRequestOrBuilderFields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
SOURCE_SNAPSHOT_FIELD_NUMBER
public static final int SOURCE_SNAPSHOT_FIELD_NUMBER
Type | Description |
int |
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static CreateTableFromSnapshotRequest getDefaultInstance()
Type | Description |
CreateTableFromSnapshotRequest |
getDefaultInstanceForType()
public CreateTableFromSnapshotRequest getDefaultInstanceForType()
Type | Description |
CreateTableFromSnapshotRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The unique name of the instance in which to create the table.
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 table.
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<CreateTableFromSnapshotRequest> getParserForType()
Type | Description |
Parser<CreateTableFromSnapshotRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSourceSnapshot()
public String getSourceSnapshot()
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The sourceSnapshot. |
getSourceSnapshotBytes()
public ByteString getSourceSnapshotBytes()
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for sourceSnapshot. |
getTableId()
public String getTableId()
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The tableId. |
getTableIdBytes()
public ByteString getTableIdBytes()
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for tableId. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static CreateTableFromSnapshotRequest.Builder newBuilder()
Type | Description |
CreateTableFromSnapshotRequest.Builder |
newBuilder(CreateTableFromSnapshotRequest prototype)
public static CreateTableFromSnapshotRequest.Builder newBuilder(CreateTableFromSnapshotRequest prototype)
Name | Description |
prototype | CreateTableFromSnapshotRequest |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
newBuilderForType()
public CreateTableFromSnapshotRequest.Builder newBuilderForType()
Type | Description |
CreateTableFromSnapshotRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateTableFromSnapshotRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static CreateTableFromSnapshotRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateTableFromSnapshotRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateTableFromSnapshotRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateTableFromSnapshotRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateTableFromSnapshotRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateTableFromSnapshotRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateTableFromSnapshotRequest> parser()
Type | Description |
Parser<CreateTableFromSnapshotRequest> |
toBuilder()
public CreateTableFromSnapshotRequest.Builder toBuilder()
Type | Description |
CreateTableFromSnapshotRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |