/** * * * <pre> * The row keys and/or ranges to read. If not specified, reads from all rows. * </pre> * * <code>.google.bigtable.v2.RowSet rows = 2;</code> */ public Builder setRows(com.google.bigtable.v2.RowSet value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rows_ = value; onChanged(); } else { rowsBuilder_.setMessage(value); } return this; } /**
/** * * * <pre> * The filter to apply to the contents of the specified row(s). If unset, * reads the entirety of each row. * </pre> * * <code>.google.bigtable.v2.RowFilter filter = 3;</code> */ public Builder setFilter(com.google.bigtable.v2.RowFilter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } 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 = 5;</code> */ public Builder setAppProfileId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } appProfileId_ = value; onChanged(); return this; } /**
/** * <pre> * The row keys and/or ranges to read. If not specified, reads from all rows. * </pre> * * <code>.google.bigtable.v2.RowSet rows = 2;</code> */ public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() { onChanged(); return getRowsFieldBuilder().getBuilder(); } /**
/** * * * <pre> * The filter to apply to the contents of the specified row(s). If unset, * reads the entirety of each row. * </pre> * * <code>.google.bigtable.v2.RowFilter filter = 3;</code> */ public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) { if (filterBuilder_ == null) { if (filter_ != null) { filter_ = com.google.bigtable.v2.RowFilter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * The row keys and/or ranges to read. If not specified, reads from all rows. * </pre> * * <code>.google.bigtable.v2.RowSet rows = 2;</code> */ public Builder clearRows() { if (rowsBuilder_ == null) { rows_ = null; onChanged(); } else { rows_ = null; rowsBuilder_ = null; } return this; } /**
public Builder mergeFrom(com.google.bigtable.v2.ReadRowsRequest other) { if (other == com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (!other.getAppProfileId().isEmpty()) { appProfileId_ = other.appProfileId_; onChanged(); } if (other.hasRows()) { mergeRows(other.getRows()); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (other.getRowsLimit() != 0L) { setRowsLimit(other.getRowsLimit()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The row keys and/or ranges to read. If not specified, reads from all rows. * </pre> * * <code>.google.bigtable.v2.RowSet rows = 2;</code> */ public Builder mergeRows(com.google.bigtable.v2.RowSet value) { if (rowsBuilder_ == null) { if (rows_ != null) { rows_ = com.google.bigtable.v2.RowSet.newBuilder(rows_).mergeFrom(value).buildPartial(); } else { rows_ = value; } onChanged(); } else { rowsBuilder_.mergeFrom(value); } 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 = 5;</code> */ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; onChanged(); return this; }
/** * * * <pre> * The filter to apply to the contents of the specified row(s). If unset, * reads the entirety of each row. * </pre> * * <code>.google.bigtable.v2.RowFilter filter = 3;</code> */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = null; onChanged(); } else { filter_ = null; filterBuilder_ = null; } return this; } /**
/** * * * <pre> * The unique name of the table from which to read. * 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 from which to read. * 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> * The filter to apply to the contents of the specified row(s). If unset, * reads the entirety of each row. * </pre> * * <code>.google.bigtable.v2.RowFilter filter = 3;</code> */ public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The row keys and/or ranges to read. If not specified, reads from all rows. * </pre> * * <code>.google.bigtable.v2.RowSet rows = 2;</code> */ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) { if (rowsBuilder_ == null) { rows_ = builderForValue.build(); onChanged(); } else { rowsBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The filter to apply to the contents of the specified row(s). If unset, * reads the entirety of each row. * </pre> * * <code>.google.bigtable.v2.RowFilter filter = 3;</code> */ public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() { onChanged(); return getFilterFieldBuilder().getBuilder(); } /**
/** * * * <pre> * The unique name of the table from which to read. * 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 = 5;</code> */ public Builder clearAppProfileId() { appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); return this; } /**
/** * * * <pre> * The read will terminate after committing to N rows' worth of results. The * default (zero) is to return all results. * </pre> * * <code>int64 rows_limit = 4;</code> */ public Builder setRowsLimit(long value) { rowsLimit_ = value; onChanged(); return this; } /**
/** * * * <pre> * The read will terminate after committing to N rows' worth of results. The * default (zero) is to return all results. * </pre> * * <code>int64 rows_limit = 4;</code> */ public Builder clearRowsLimit() { rowsLimit_ = 0L; onChanged(); return this; }
/** * * * <pre> * The row keys and/or ranges to read. If not specified, reads from all rows. * </pre> * * <code>.google.bigtable.v2.RowSet rows = 2;</code> */ public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() { onChanged(); return getRowsFieldBuilder().getBuilder(); } /**