Send feedback
Class CreateTableFromSnapshotRequest (2.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.14.0 keyboard_arrow_down
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
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
SOURCE_SNAPSHOT_FIELD_NUMBER
public static final int SOURCE_SNAPSHOT_FIELD_NUMBER
Field Value
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateTableFromSnapshotRequest getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static CreateTableFromSnapshotRequest . Builder newBuilder ()
Returns
newBuilder(CreateTableFromSnapshotRequest prototype)
public static CreateTableFromSnapshotRequest . Builder newBuilder ( CreateTableFromSnapshotRequest prototype )
Parameter
Returns
public static CreateTableFromSnapshotRequest parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static CreateTableFromSnapshotRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateTableFromSnapshotRequest parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateTableFromSnapshotRequest parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static CreateTableFromSnapshotRequest parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static CreateTableFromSnapshotRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static CreateTableFromSnapshotRequest parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static CreateTableFromSnapshotRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateTableFromSnapshotRequest parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateTableFromSnapshotRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<CreateTableFromSnapshotRequest> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateTableFromSnapshotRequest getDefaultInstanceForType ()
Returns
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) = { ... }
Returns
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) = { ... }
Returns
getParserForType()
public Parser<CreateTableFromSnapshotRequest> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
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) = { ... }
Returns
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) = { ... }
Returns
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];
Returns
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];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public CreateTableFromSnapshotRequest . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateTableFromSnapshotRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public CreateTableFromSnapshotRequest . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]