/** * * * <pre> * The unique name of the table on which to drop a range of rows. * 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> * Delete all rows that start with this row key prefix. Prefix cannot be * zero length. * </pre> * * <code>bytes row_key_prefix = 2;</code> */ public Builder setRowKeyPrefix(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } targetCase_ = 2; target_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the table on which to drop a range of rows. * 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> * Delete all rows that start with this row key prefix. Prefix cannot be * zero length. * </pre> * * <code>bytes row_key_prefix = 2;</code> */ public Builder clearRowKeyPrefix() { if (targetCase_ == 2) { targetCase_ = 0; target_ = null; onChanged(); } return this; }
/** * <pre> * Delete all rows that start with this row key prefix. Prefix cannot be * zero length. * </pre> * * <code>bytes row_key_prefix = 2;</code> */ public Builder setRowKeyPrefix(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } targetCase_ = 2; target_ = value; onChanged(); return this; } /**
/** * <pre> * The unique name of the table on which to drop a range of rows. * 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> * Delete all rows that start with this row key prefix. Prefix cannot be * zero length. * </pre> * * <code>bytes row_key_prefix = 2;</code> */ public Builder clearRowKeyPrefix() { if (targetCase_ == 2) { targetCase_ = 0; target_ = null; onChanged(); } return this; }
/** * <pre> * The unique name of the table on which to drop a range of rows. * 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> * Delete all rows in the table. Setting this to false is a no-op. * </pre> * * <code>bool delete_all_data_from_table = 3;</code> */ public Builder setDeleteAllDataFromTable(boolean value) { targetCase_ = 3; target_ = value; onChanged(); return this; } /**
/** * <pre> * Delete all rows in the table. Setting this to false is a no-op. * </pre> * * <code>bool delete_all_data_from_table = 3;</code> */ public Builder clearDeleteAllDataFromTable() { if (targetCase_ == 3) { targetCase_ = 0; target_ = null; onChanged(); } return this; } public final Builder setUnknownFields(
/** * <pre> * Delete all rows in the table. Setting this to false is a no-op. * </pre> * * <code>bool delete_all_data_from_table = 3;</code> */ public Builder setDeleteAllDataFromTable(boolean value) { targetCase_ = 3; target_ = value; onChanged(); return this; } /**
/** * <pre> * The unique name of the table on which to drop a range of rows. * 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 clearTarget() { targetCase_ = 0; target_ = null; onChanged(); return this; }
public Builder clearTarget() { targetCase_ = 0; target_ = null; onChanged(); return this; }
public Builder mergeFrom(com.google.bigtable.admin.v2.DropRowRangeRequest other) { if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } switch (other.getTargetCase()) { case ROW_KEY_PREFIX: { setRowKeyPrefix(other.getRowKeyPrefix()); break; } case DELETE_ALL_DATA_FROM_TABLE: { setDeleteAllDataFromTable(other.getDeleteAllDataFromTable()); break; } case TARGET_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * Delete all rows in the table. Setting this to false is a no-op. * </pre> * * <code>bool delete_all_data_from_table = 3;</code> */ public Builder clearDeleteAllDataFromTable() { if (targetCase_ == 3) { targetCase_ = 0; target_ = null; onChanged(); } return this; }
/** * * * <pre> * Delete all rows in the table. Setting this to false is a no-op. * </pre> * * <code>bool delete_all_data_from_table = 3;</code> */ public Builder setDeleteAllDataFromTable(boolean value) { targetCase_ = 3; target_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the table on which to drop a range of rows. * 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> * Delete all rows that start with this row key prefix. Prefix cannot be * zero length. * </pre> * * <code>bytes row_key_prefix = 2;</code> */ public Builder clearRowKeyPrefix() { if (targetCase_ == 2) { targetCase_ = 0; target_ = null; onChanged(); } return this; }
public Builder clearTarget() { targetCase_ = 0; target_ = null; onChanged(); return this; }