/** * * * <pre> * The unique name of the instance in which to create the table. * Values are of the form `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParent(java.lang.String value) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the table. * Values are of the form `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; onChanged(); return this; }
/** * * * <pre> * 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>`. * </pre> * * <code>string source_snapshot = 3;</code> */ public Builder setSourceSnapshot(java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceSnapshot_ = value; onChanged(); return this; } /**
/** * * * <pre> * 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>`. * </pre> * * <code>string source_snapshot = 3;</code> */ public Builder setSourceSnapshot(java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceSnapshot_ = value; onChanged(); return this; } /**
/** * * * <pre> * 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>`. * </pre> * * <code>string source_snapshot = 3;</code> */ public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceSnapshot_ = value; onChanged(); return this; }
/** * * * <pre> * The unique name of the instance in which to create the table. * Values are of the form `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; onChanged(); return this; }
/** * * * <pre> * The name by which the new table should be referred to within the parent * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. * </pre> * * <code>string table_id = 2;</code> */ public Builder setTableId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } tableId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the table. * Values are of the form `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParent(java.lang.String value) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the table. * Values are of the form `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other) { if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getTableId().isEmpty()) { tableId_ = other.tableId_; onChanged(); } if (!other.getSourceSnapshot().isEmpty()) { sourceSnapshot_ = other.sourceSnapshot_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * 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>`. * </pre> * * <code>string source_snapshot = 3;</code> */ public Builder clearSourceSnapshot() { sourceSnapshot_ = getDefaultInstance().getSourceSnapshot(); onChanged(); return this; } /**
/** * * * <pre> * The name by which the new table should be referred to within the parent * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. * </pre> * * <code>string table_id = 2;</code> */ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; onChanged(); return this; }
/** * * * <pre> * The name by which the new table should be referred to within the parent * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. * </pre> * * <code>string table_id = 2;</code> */ public Builder clearTableId() { tableId_ = getDefaultInstance().getTableId(); onChanged(); return this; } /**
/** * * * <pre> * 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>`. * </pre> * * <code>string source_snapshot = 3;</code> */ public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceSnapshot_ = value; onChanged(); return this; }
/** * * * <pre> * The name by which the new table should be referred to within the parent * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. * </pre> * * <code>string table_id = 2;</code> */ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; onChanged(); return this; }
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other) { if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getTableId().isEmpty()) { tableId_ = other.tableId_; onChanged(); } if (!other.getSourceSnapshot().isEmpty()) { sourceSnapshot_ = other.sourceSnapshot_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * 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>`. * </pre> * * <code>string source_snapshot = 3;</code> */ public Builder clearSourceSnapshot() { sourceSnapshot_ = getDefaultInstance().getSourceSnapshot(); onChanged(); return this; } /**
/** * * * <pre> * The name by which the new table should be referred to within the parent * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. * </pre> * * <code>string table_id = 2;</code> */ public Builder setTableId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } tableId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the table. * Values are of the form `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * The name by which the new table should be referred to within the parent * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. * </pre> * * <code>string table_id = 2;</code> */ public Builder clearTableId() { tableId_ = getDefaultInstance().getTableId(); onChanged(); return this; } /**