/** * * * <pre> * Create a new column family with the specified schema, or fail if * one already exists with the given ID. * </pre> * * <code>.google.bigtable.admin.v2.ColumnFamily create = 2;</code> */ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) { if (createBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mod_ = value; onChanged(); } else { createBuilder_.setMessage(value); } modCase_ = 2; return this; } /**
/** * * * <pre> * Update an existing column family to the specified schema, or fail * if no column family exists with the given ID. * </pre> * * <code>.google.bigtable.admin.v2.ColumnFamily update = 3;</code> */ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) { if (updateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mod_ = value; onChanged(); } else { updateBuilder_.setMessage(value); } modCase_ = 3; return this; } /**
/** * * * <pre> * The ID of the column family to be modified. * </pre> * * <code>string id = 1;</code> */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; }
/** * <pre> * The ID of the column family to be modified. * </pre> * * <code>string id = 1;</code> */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
public Builder clearMod() { modCase_ = 0; mod_ = null; onChanged(); return this; }
public Builder clearMod() { modCase_ = 0; mod_ = null; onChanged(); return this; }
mod_ = value; onChanged(); } else { if (modCase_ == 2) {
mod_ = value; onChanged(); } else { if (modCase_ == 3) {
/** * * * <pre> * Update an existing column family to the specified schema, or fail * if no column family exists with the given ID. * </pre> * * <code>.google.bigtable.admin.v2.ColumnFamily update = 3;</code> */ public Builder clearUpdate() { if (updateBuilder_ == null) { if (modCase_ == 3) { modCase_ = 0; mod_ = null; onChanged(); } } else { if (modCase_ == 3) { modCase_ = 0; mod_ = null; } updateBuilder_.clear(); } return this; } /**
/** * * * <pre> * Create a new column family with the specified schema, or fail if * one already exists with the given ID. * </pre> * * <code>.google.bigtable.admin.v2.ColumnFamily create = 2;</code> */ public Builder clearCreate() { if (createBuilder_ == null) { if (modCase_ == 2) { modCase_ = 0; mod_ = null; onChanged(); } } else { if (modCase_ == 2) { modCase_ = 0; mod_ = null; } createBuilder_.clear(); } return this; } /**
/** * * * <pre> * Update an existing column family to the specified schema, or fail * if no column family exists with the given ID. * </pre> * * <code>.google.bigtable.admin.v2.ColumnFamily update = 3;</code> */ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) { if (updateBuilder_ == null) { mod_ = builderForValue.build(); onChanged(); } else { updateBuilder_.setMessage(builderForValue.build()); } modCase_ = 3; return this; } /**
/** * * * <pre> * Create a new column family with the specified schema, or fail if * one already exists with the given ID. * </pre> * * <code>.google.bigtable.admin.v2.ColumnFamily create = 2;</code> */ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) { if (createBuilder_ == null) { mod_ = builderForValue.build(); onChanged(); } else { createBuilder_.setMessage(builderForValue.build()); } modCase_ = 2; return this; } /**
/** * * * <pre> * Drop (delete) the column family with the given ID, or fail if no such * family exists. * </pre> * * <code>bool drop = 4;</code> */ public Builder clearDrop() { if (modCase_ == 4) { modCase_ = 0; mod_ = null; onChanged(); } return this; }
/** * * * <pre> * The ID of the column family to be modified. * </pre> * * <code>string id = 1;</code> */ public Builder setId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /**
/** * * * <pre> * Drop (delete) the column family with the given ID, or fail if no such * family exists. * </pre> * * <code>bool drop = 4;</code> */ public Builder setDrop(boolean value) { modCase_ = 4; mod_ = value; onChanged(); return this; } /**
/** * * * <pre> * The ID of the column family to be modified. * </pre> * * <code>string id = 1;</code> */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
public Builder clearMod() { modCase_ = 0; mod_ = null; onChanged(); return this; }