/** * * * <pre> * The row key for this chunk of data. If the row key is empty, * this CellChunk is a continuation of the same row as the previous * CellChunk in the response stream, even if that CellChunk was in a * previous ReadRowsResponse message. * </pre> * * <code>bytes row_key = 1;</code> */ public Builder setRowKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } rowKey_ = value; onChanged(); return this; } /**
/** * * * <pre> * Labels applied to the cell by a * [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set * on the first CellChunk per cell. * </pre> * * <code>repeated string labels = 5;</code> */ public Builder setLabels(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * Labels applied to the cell by a * [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set * on the first CellChunk per cell. * </pre> * * <code>repeated string labels = 5;</code> */ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); onChanged(); return this; }
/** * * * <pre> * Labels applied to the cell by a * [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set * on the first CellChunk per cell. * </pre> * * <code>repeated string labels = 5;</code> */ public Builder addLabels(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); onChanged(); return this; } /**
/** * * * <pre> * The cell's stored timestamp, which also uniquely identifies it * within its column. Values are always expressed in * microseconds, but individual tables may set a coarser * granularity to further restrict the allowed values. For * example, a table which specifies millisecond granularity will * only allow values of `timestamp_micros` which are multiples of * 1000. Timestamps are only set in the first CellChunk per cell * (for cells split into multiple chunks). * </pre> * * <code>int64 timestamp_micros = 4;</code> */ public Builder setTimestampMicros(long value) { timestampMicros_ = value; onChanged(); return this; } /**
/** * * * <pre> * The cell's stored timestamp, which also uniquely identifies it * within its column. Values are always expressed in * microseconds, but individual tables may set a coarser * granularity to further restrict the allowed values. For * example, a table which specifies millisecond granularity will * only allow values of `timestamp_micros` which are multiples of * 1000. Timestamps are only set in the first CellChunk per cell * (for cells split into multiple chunks). * </pre> * * <code>int64 timestamp_micros = 4;</code> */ public Builder clearTimestampMicros() { timestampMicros_ = 0L; onChanged(); return this; }
/** * * * <pre> * The column qualifier for this chunk of data. If this message * is not present, this CellChunk is a continuation of the same column * as the previous CellChunk. Column qualifiers may be empty so * clients must check for the presence of this message, not just * for `qualifier.value` being non-empty. * </pre> * * <code>.google.protobuf.BytesValue qualifier = 3;</code> */ public Builder clearQualifier() { if (qualifierBuilder_ == null) { qualifier_ = null; onChanged(); } else { qualifier_ = null; qualifierBuilder_ = null; } return this; } /**
/** * * * <pre> * The column family name for this chunk of data. If this message * is not present this CellChunk is a continuation of the same column * family as the previous CellChunk. The empty string can occur as a * column family name in a response so clients must check * explicitly for the presence of this message, not just for * `family_name.value` being non-empty. * </pre> * * <code>.google.protobuf.StringValue family_name = 2;</code> */ public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() { onChanged(); return getFamilyNameFieldBuilder().getBuilder(); } /**
/** * * * <pre> * Indicates that the client can safely process all previous chunks for * `row_key`, as its data has been fully read. * </pre> * * <code>bool commit_row = 9;</code> */ public Builder clearCommitRow() { if (rowStatusCase_ == 9) { rowStatusCase_ = 0; rowStatus_ = null; onChanged(); } return this; }
/** * * * <pre> * If this CellChunk is part of a chunked cell value and this is * not the final chunk of that cell, value_size will be set to the * total length of the cell value. The client can use this size * to pre-allocate memory to hold the full cell value. * </pre> * * <code>int32 value_size = 7;</code> */ public Builder setValueSize(int value) { valueSize_ = value; onChanged(); return this; } /**
/** * * * <pre> * Indicates that the client should drop all previous chunks for * `row_key`, as it will be re-read from the beginning. * </pre> * * <code>bool reset_row = 8;</code> */ public Builder clearResetRow() { if (rowStatusCase_ == 8) { rowStatusCase_ = 0; rowStatus_ = null; onChanged(); } return this; }
/** * * * <pre> * Labels applied to the cell by a * [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set * on the first CellChunk per cell. * </pre> * * <code>repeated string labels = 5;</code> */ public Builder clearLabels() { labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /**
/** * * * <pre> * Labels applied to the cell by a * [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set * on the first CellChunk per cell. * </pre> * * <code>repeated string labels = 5;</code> */ public Builder addAllLabels(java.lang.Iterable<java.lang.String> values) { ensureLabelsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); onChanged(); return this; } /**
/** * * * <pre> * The value stored in the cell. Cell values can be split across * multiple CellChunks. In that case only the value field will be * set in CellChunks after the first: the timestamp and labels * will only be present in the first CellChunk, even if the first * CellChunk came in a previous ReadRowsResponse. * </pre> * * <code>bytes value = 6;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; }
/** * * * <pre> * The column qualifier for this chunk of data. If this message * is not present, this CellChunk is a continuation of the same column * as the previous CellChunk. Column qualifiers may be empty so * clients must check for the presence of this message, not just * for `qualifier.value` being non-empty. * </pre> * * <code>.google.protobuf.BytesValue qualifier = 3;</code> */ public com.google.protobuf.BytesValue.Builder getQualifierBuilder() { onChanged(); return getQualifierFieldBuilder().getBuilder(); } /**
/** * * * <pre> * If this CellChunk is part of a chunked cell value and this is * not the final chunk of that cell, value_size will be set to the * total length of the cell value. The client can use this size * to pre-allocate memory to hold the full cell value. * </pre> * * <code>int32 value_size = 7;</code> */ public Builder clearValueSize() { valueSize_ = 0; onChanged(); return this; }
/** * * * <pre> * Indicates that the client should drop all previous chunks for * `row_key`, as it will be re-read from the beginning. * </pre> * * <code>bool reset_row = 8;</code> */ public Builder setResetRow(boolean value) { rowStatusCase_ = 8; rowStatus_ = value; onChanged(); return this; } /**
/** * * * <pre> * The row key for this chunk of data. If the row key is empty, * this CellChunk is a continuation of the same row as the previous * CellChunk in the response stream, even if that CellChunk was in a * previous ReadRowsResponse message. * </pre> * * <code>bytes row_key = 1;</code> */ public Builder clearRowKey() { rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; }
/** * * * <pre> * Indicates that the client can safely process all previous chunks for * `row_key`, as its data has been fully read. * </pre> * * <code>bool commit_row = 9;</code> */ public Builder setCommitRow(boolean value) { rowStatusCase_ = 9; rowStatus_ = value; onChanged(); return this; } /**
public Builder clearRowStatus() { rowStatusCase_ = 0; rowStatus_ = null; onChanged(); return this; }