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 type
google.bigtable.admin.v2.CreateTableFromSnapshotRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateTableFromSnapshotRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateTableFromSnapshotRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateTableFromSnapshotRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder mergeFrom(CreateTableFromSnapshotRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface CreateTableFromSnapshotRequestOrBuilderpublic 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) = { ... }
getParentBytes in interface CreateTableFromSnapshotRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
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) = { ... }
value - The bytes for parent to set.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];getTableId in interface CreateTableFromSnapshotRequestOrBuilderpublic 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];getTableIdBytes in interface CreateTableFromSnapshotRequestOrBuilderpublic 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];value - The tableId to set.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];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];value - The bytes for tableId to set.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) = { ... }
getSourceSnapshot in interface CreateTableFromSnapshotRequestOrBuilderpublic 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) = { ... }
getSourceSnapshotBytes in interface CreateTableFromSnapshotRequestOrBuilderpublic 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) = { ... }
value - The sourceSnapshot to set.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) = { ... }
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) = { ... }
value - The bytes for sourceSnapshot to set.public final CreateTableFromSnapshotRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public final CreateTableFromSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.