@java.lang.Override public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDefaultInstanceForType() { return com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance(); }
/** * * * <pre> * The request that prompted the initiation of this CreateTableFromSnapshot * operation. * </pre> * * <code>.google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } /**
/** * * * <pre> * The request that prompted the initiation of this CreateTableFromSnapshot * operation. * </pre> * * <code>.google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /**
/** * * * <pre> * The request that prompted the initiation of this CreateTableFromSnapshot * operation. * </pre> * * <code>.google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } } /**
/** * * * <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 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 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; } /**
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; }
io.grpc.protobuf.ProtoUtils.marshaller( com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
@java.lang.Override public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDefaultInstanceForType() { return com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance(); }
/** * * * <pre> * The request that prompted the initiation of this CreateTableFromSnapshot * operation. * </pre> * * <code>.google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } /**
/** * * * <pre> * The request that prompted the initiation of this CreateTableFromSnapshot * operation. * </pre> * * <code>.google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /**
/** * * * <pre> * The request that prompted the initiation of this CreateTableFromSnapshot * operation. * </pre> * * <code>.google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } } /**
/** * * * <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 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 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; } /**
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; }