Package com.google.bigtable.admin.v2
Class CreateTableFromSnapshotRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
- com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder
-
- All Implemented Interfaces:
CreateTableFromSnapshotRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CreateTableFromSnapshotRequest
public static final class CreateTableFromSnapshotRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder> implements CreateTableFromSnapshotRequestOrBuilder
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][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 typegoogle.bigtable.admin.v2.CreateTableFromSnapshotRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
clear
public CreateTableFromSnapshotRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
getDefaultInstanceForType
public CreateTableFromSnapshotRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateTableFromSnapshotRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateTableFromSnapshotRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CreateTableFromSnapshotRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
setField
public CreateTableFromSnapshotRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
clearField
public CreateTableFromSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
clearOneof
public CreateTableFromSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
setRepeatedField
public CreateTableFromSnapshotRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
addRepeatedField
public CreateTableFromSnapshotRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
mergeFrom
public CreateTableFromSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>
-
mergeFrom
public CreateTableFromSnapshotRequest.Builder mergeFrom(CreateTableFromSnapshotRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
mergeFrom
public CreateTableFromSnapshotRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getParentin interfaceCreateTableFromSnapshotRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getParentBytesin interfaceCreateTableFromSnapshotRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public CreateTableFromSnapshotRequest.Builder setParent(String value)
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public CreateTableFromSnapshotRequest.Builder clearParent()
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:
- This builder for chaining.
-
setParentBytes
public CreateTableFromSnapshotRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTableIdin interfaceCreateTableFromSnapshotRequestOrBuilder- Returns:
- The tableId.
-
getTableIdBytes
public com.google.protobuf.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];- Specified by:
getTableIdBytesin interfaceCreateTableFromSnapshotRequestOrBuilder- Returns:
- The bytes for tableId.
-
setTableId
public CreateTableFromSnapshotRequest.Builder setTableId(String value)
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];- Parameters:
value- The tableId to set.- Returns:
- This builder for chaining.
-
clearTableId
public CreateTableFromSnapshotRequest.Builder clearTableId()
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:
- This builder for chaining.
-
setTableIdBytes
public CreateTableFromSnapshotRequest.Builder setTableIdBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for tableId to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getSourceSnapshotin interfaceCreateTableFromSnapshotRequestOrBuilder- Returns:
- The sourceSnapshot.
-
getSourceSnapshotBytes
public com.google.protobuf.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) = { ... }- Specified by:
getSourceSnapshotBytesin interfaceCreateTableFromSnapshotRequestOrBuilder- Returns:
- The bytes for sourceSnapshot.
-
setSourceSnapshot
public CreateTableFromSnapshotRequest.Builder setSourceSnapshot(String value)
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) = { ... }- Parameters:
value- The sourceSnapshot to set.- Returns:
- This builder for chaining.
-
clearSourceSnapshot
public CreateTableFromSnapshotRequest.Builder clearSourceSnapshot()
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:
- This builder for chaining.
-
setSourceSnapshotBytes
public CreateTableFromSnapshotRequest.Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for sourceSnapshot to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CreateTableFromSnapshotRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
mergeUnknownFields
public final CreateTableFromSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
-
-