public final class RestoreTableRequest extends GeneratedMessageV3 implements RestoreTableRequestOrBuilder
The request for RestoreTable.
Protobuf type google.bigtable.admin.v2.RestoreTableRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RestoreTableRequestImplements
RestoreTableRequestOrBuilderStatic Fields
BACKUP_FIELD_NUMBER
public static final int BACKUP_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RestoreTableRequest getDefaultInstance()
Type | Description |
RestoreTableRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static RestoreTableRequest.Builder newBuilder()
Type | Description |
RestoreTableRequest.Builder |
newBuilder(RestoreTableRequest prototype)
public static RestoreTableRequest.Builder newBuilder(RestoreTableRequest prototype)
Name | Description |
prototype | RestoreTableRequest |
Type | Description |
RestoreTableRequest.Builder |
parseDelimitedFrom(InputStream input)
public static RestoreTableRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RestoreTableRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTableRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RestoreTableRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RestoreTableRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreTableRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RestoreTableRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RestoreTableRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreTableRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RestoreTableRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RestoreTableRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTableRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RestoreTableRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RestoreTableRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTableRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RestoreTableRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RestoreTableRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreTableRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RestoreTableRequest> parser()
Type | Description |
Parser<RestoreTableRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBackup()
public String getBackup()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The backup. |
getBackupBytes()
public ByteString getBackupBytes()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for backup. |
getDefaultInstanceForType()
public RestoreTableRequest getDefaultInstanceForType()
Type | Description |
RestoreTableRequest |
getParent()
public String getParent()
Required. The name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
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 name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
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<RestoreTableRequest> getParserForType()
Type | Description |
Parser<RestoreTableRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSourceCase()
public RestoreTableRequest.SourceCase getSourceCase()
Type | Description |
RestoreTableRequest.SourceCase |
getTableId()
public String getTableId()
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The tableId. |
getTableIdBytes()
public ByteString getTableIdBytes()
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for tableId. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasBackup()
public boolean hasBackup()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the backup 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 RestoreTableRequest.Builder newBuilderForType()
Type | Description |
RestoreTableRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestoreTableRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RestoreTableRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public RestoreTableRequest.Builder toBuilder()
Type | Description |
RestoreTableRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |