setDrop(other.getDrop()); break;
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() .setId("cf3") .setDrop(true)) .build(); assertThat(actual).isEqualTo(expected);
public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } switch (other.getModCase()) { case CREATE: { mergeCreate(other.getCreate()); break; } case UPDATE: { mergeUpdate(other.getUpdate()); break; } case DROP: { setDrop(other.getDrop()); break; } case MOD_NOT_SET: { break; } } onChanged(); return this; }
setDrop(other.getDrop()); break;
/** * Drops the specified ColumnFamily * * @param familyId * @return */ public ModifyColumnFamiliesRequest dropFamily(String familyId) { Modification.Builder modification = Modification.newBuilder().setId(familyId).setDrop(true); modFamilyRequest.addModifications(modification.build()); return this; }
/** * Drops the specified ColumnFamily * * @param familyId * @return */ public ModifyColumnFamiliesRequest dropFamily(String familyId) { Modification.Builder modification = Modification.newBuilder().setId(familyId).setDrop(true); modFamilyRequest.addModifications(modification.build()); return this; }