/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder clearModifications() { if (modificationsBuilder_ == null) { modifications_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { modificationsBuilder_.clear(); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder setModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { if (modificationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModificationsIsMutable(); modifications_.set(index, value); onChanged(); } else { modificationsBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder addModifications( com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { if (modificationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModificationsIsMutable(); modifications_.add(value); onChanged(); } else { modificationsBuilder_.addMessage(value); } return this; } /**
/** * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code>repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2;</code> */ public Builder addModifications( com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(builderForValue.build()); onChanged(); } else { modificationsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The unique name of the table whose families should be modified. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string name = 1;</code> */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
/** * * * <pre> * The unique name of the table whose families should be modified. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string name = 1;</code> */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * <pre> * The unique name of the table whose families should be modified. * Values are of the form projects/<project>/instances/<instance>/tables/<table> * </pre> * * <code>string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * <pre> * The unique name of the table whose families should be modified. * Values are of the form projects/<project>/instances/<instance>/tables/<table> * </pre> * * <code>string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
/** * * * <pre> * The unique name of the table whose families should be modified. * 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 unique name of the table whose families should be modified. * 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> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder addModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { if (modificationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModificationsIsMutable(); modifications_.add(index, value); onChanged(); } else { modificationsBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder setModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.set(index, builderForValue.build()); onChanged(); } else { modificationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder addAllModifications( java.lang.Iterable< ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification> values) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, modifications_); onChanged(); } else { modificationsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder addModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(index, builderForValue.build()); onChanged(); } else { modificationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder addModifications( com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(builderForValue.build()); onChanged(); } else { modificationsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be * masked by later ones (in the case of repeated updates to the same family, * for example). * </pre> * * <code> * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; * </code> */ public Builder removeModifications(int index) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.remove(index); onChanged(); } else { modificationsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The unique name of the table whose families should be modified. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string name = 1;</code> */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the table whose families should be modified. * Values are of the form * `projects/<project>/instances/<instance>/tables/<table>`. * </pre> * * <code>string name = 1;</code> */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
/** * * * <pre> * The unique name of the table whose families should be modified. * 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; } /**