@java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstanceForType() { return com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance(); }
/** * * * <pre> * The request that prompted the initiation of this SnapshotTable operation. * </pre> * * <code>.google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } /**
/** * * * <pre> * The request that prompted the initiation of this SnapshotTable operation. * </pre> * * <code>.google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } } /**
/** * * * <pre> * The request that prompted the initiation of this SnapshotTable operation. * </pre> * * <code>.google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /**
/** * * * <pre> * Description of the snapshot. * </pre> * * <code>string description = 5;</code> */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**
/** * * * <pre> * The name of the cluster where the snapshot will be created in. * Values are of the form * `projects/<project>/instances/<instance>/clusters/<cluster>`. * </pre> * * <code>string cluster = 2;</code> */ public Builder clearCluster() { cluster_ = getDefaultInstance().getCluster(); onChanged(); return this; } /**
/** * * * <pre> * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. * </pre> * * <code>string snapshot_id = 3;</code> */ public Builder clearSnapshotId() { snapshotId_ = getDefaultInstance().getSnapshotId(); onChanged(); return this; } /**
/** * * * <pre> * The unique name of the table to have the snapshot taken. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableRequest other) { if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; onChanged(); } if (!other.getSnapshotId().isEmpty()) { snapshotId_ = other.snapshotId_; onChanged(); } if (other.hasTtl()) { mergeTtl(other.getTtl()); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
io.grpc.protobuf.ProtoUtils.marshaller( com.google.bigtable.admin.v2.SnapshotTableRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
@java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstanceForType() { return com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance(); }
/** * * * <pre> * The request that prompted the initiation of this SnapshotTable operation. * </pre> * * <code>.google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } /**
/** * * * <pre> * The request that prompted the initiation of this SnapshotTable operation. * </pre> * * <code>.google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /**
/** * * * <pre> * The request that prompted the initiation of this SnapshotTable operation. * </pre> * * <code>.google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;</code> */ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } } /**
/** * * * <pre> * The name of the cluster where the snapshot will be created in. * Values are of the form * `projects/<project>/instances/<instance>/clusters/<cluster>`. * </pre> * * <code>string cluster = 2;</code> */ public Builder clearCluster() { cluster_ = getDefaultInstance().getCluster(); onChanged(); return this; } /**
/** * * * <pre> * Description of the snapshot. * </pre> * * <code>string description = 5;</code> */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**
/** * * * <pre> * The unique name of the table to have the snapshot taken. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * * * <pre> * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. * </pre> * * <code>string snapshot_id = 3;</code> */ public Builder clearSnapshotId() { snapshotId_ = getDefaultInstance().getSnapshotId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableRequest other) { if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; onChanged(); } if (!other.getSnapshotId().isEmpty()) { snapshotId_ = other.snapshotId_; onChanged(); } if (other.hasTtl()) { mergeTtl(other.getTtl()); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }