/** * * * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</code> */ public Builder addLabels(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); onChanged(); return this; } /**
/** * * * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</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]. * </pre> * * <code>repeated string labels = 3;</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]. * </pre> * * <code>repeated string labels = 3;</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> * 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. * </pre> * * <code>int64 timestamp_micros = 1;</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. * </pre> * * <code>int64 timestamp_micros = 1;</code> */ public Builder clearTimestampMicros() { timestampMicros_ = 0L; onChanged(); return this; }
/** * * * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</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]. * </pre> * * <code>repeated string labels = 3;</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. * May contain any byte string, including the empty string, up to 100MiB in * length. * </pre> * * <code>bytes value = 2;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; }
/** * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</code> */ public Builder addAllLabels( java.lang.Iterable<java.lang.String> values) { ensureLabelsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, labels_); onChanged(); return this; } /**
/** * * * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</code> */ public Builder clearLabels() { labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /**
/** * <pre> * The value stored in the cell. * May contain any byte string, including the empty string, up to 100MiB in * length. * </pre> * * <code>bytes value = 2;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; }
/** * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</code> */ public Builder clearLabels() { labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.v2.Cell other) { if (other == com.google.bigtable.v2.Cell.getDefaultInstance()) return this; if (other.getTimestampMicros() != 0L) { setTimestampMicros(other.getTimestampMicros()); } if (other.getValue() != com.google.protobuf.ByteString.EMPTY) { setValue(other.getValue()); } if (!other.labels_.isEmpty()) { if (labels_.isEmpty()) { labels_ = other.labels_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureLabelsIsMutable(); labels_.addAll(other.labels_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The value stored in the cell. * May contain any byte string, including the empty string, up to 100MiB in * length. * </pre> * * <code>bytes value = 2;</code> */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = 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. * </pre> * * <code>int64 timestamp_micros = 1;</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. * </pre> * * <code>int64 timestamp_micros = 1;</code> */ public Builder clearTimestampMicros() { timestampMicros_ = 0L; onChanged(); return this; }
/** * * * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</code> */ public Builder addAllLabels(java.lang.Iterable<java.lang.String> values) { ensureLabelsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); onChanged(); return this; } /**
/** * * * <pre> * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * </pre> * * <code>repeated string labels = 3;</code> */ public Builder clearLabels() { labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /**
/** * * * <pre> * The value stored in the cell. * May contain any byte string, including the empty string, up to 100MiB in * length. * </pre> * * <code>bytes value = 2;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; }