/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder clearMutations() { if (mutationsBuilder_ == null) { mutations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { mutationsBuilder_.clear(); } return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutationsIsMutable(); mutations_.add(value); onChanged(); } else { mutationsBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutationsIsMutable(); mutations_.add(index, value); onChanged(); } else { mutationsBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * The key of the row to which the mutation should be applied. * </pre> * * <code>bytes row_key = 2;</code> */ public Builder clearRowKey() { rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; }
/** * <pre> * The key of the row to which the mutation should be applied. * </pre> * * <code>bytes row_key = 2;</code> */ public Builder clearRowKey() { rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; }
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutationsIsMutable(); mutations_.set(index, value); onChanged(); } else { mutationsBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(index, builderForValue.build()); onChanged(); } else { mutationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.set(index, builderForValue.build()); onChanged(); } else { mutationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder addAllMutations( java.lang.Iterable<? extends com.google.bigtable.v2.Mutation> values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.remove(index); onChanged(); } else { mutationsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The unique name of the table to which the mutation should be applied. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string table_name = 1;</code> */ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; onChanged(); return this; }
/** * * * <pre> * The unique name of the table to which the mutation should be applied. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string table_name = 1;</code> */ public Builder setTableName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } tableName_ = value; onChanged(); return this; } /**
/** * * * <pre> * This value specifies routing for replication. If not specified, the * "default" application profile will be used. * </pre> * * <code>string app_profile_id = 4;</code> */ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; onChanged(); return this; }
/** * * * <pre> * This value specifies routing for replication. If not specified, the * "default" application profile will be used. * </pre> * * <code>string app_profile_id = 4;</code> */ public Builder setAppProfileId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } appProfileId_ = value; onChanged(); return this; } /**
/** * * * <pre> * Changes to be atomically applied to the specified row. Entries are applied * in order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry and at most 100000. * </pre> * * <code>repeated .google.bigtable.v2.Mutation mutations = 3;</code> */ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); onChanged(); } else { mutationsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The key of the row to which the mutation should be applied. * </pre> * * <code>bytes row_key = 2;</code> */ public Builder setRowKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } rowKey_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the table to which the mutation should be applied. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string table_name = 1;</code> */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /**
/** * * * <pre> * This value specifies routing for replication. If not specified, the * "default" application profile will be used. * </pre> * * <code>string app_profile_id = 4;</code> */ public Builder clearAppProfileId() { appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); return this; } /**
/** * * * <pre> * The key of the row to which the mutation should be applied. * </pre> * * <code>bytes row_key = 2;</code> */ public Builder clearRowKey() { rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; }