public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter.getDefaultInstance()) return this; if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } onChanged(); } if (other.hasCanHint()) { setCanHint(other.getCanHint()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter.getDefaultInstance()) return this; if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } onChanged(); } if (other.hasCanHint()) { setCanHint(other.getCanHint()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * @return The filter serialized using pb */ @Override public byte[] toByteArray() { FilterProtos.TimestampsFilter.Builder builder = FilterProtos.TimestampsFilter.newBuilder(); builder.addAllTimestamps(this.timestamps); builder.setCanHint(canHint); return builder.build().toByteArray(); }
/** * @return The filter serialized using pb */ @Override public byte[] toByteArray() { FilterProtos.TimestampsFilter.Builder builder = FilterProtos.TimestampsFilter.newBuilder(); builder.addAllTimestamps(this.timestamps); builder.setCanHint(canHint); return builder.build().toByteArray(); }
/** * @return The filter serialized using pb */ @Override public byte[] toByteArray() { FilterProtos.TimestampsFilter.Builder builder = FilterProtos.TimestampsFilter.newBuilder(); builder.addAllTimestamps(this.timestamps); builder.setCanHint(canHint); return builder.build().toByteArray(); }