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; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTimestampsCount() > 0) { hash = (37 * hash) + TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getTimestampsList().hashCode(); } if (hasCanHint()) { hash = (37 * hash) + CAN_HINT_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashBoolean( getCanHint()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter other = (org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter) obj; boolean result = true; result = result && getTimestampsList() .equals(other.getTimestampsList()); result = result && (hasCanHint() == other.hasCanHint()); if (hasCanHint()) { result = result && (getCanHint() == other.getCanHint()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTimestampsCount() > 0) { hash = (37 * hash) + TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getTimestampsList().hashCode(); } if (hasCanHint()) { hash = (37 * hash) + CAN_HINT_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashBoolean( getCanHint()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter other = (org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter) obj; boolean result = true; result = result && getTimestampsList() .equals(other.getTimestampsList()); result = result && (hasCanHint() == other.hasCanHint()); if (hasCanHint()) { result = result && (getCanHint() == other.getCanHint()); } result = result && unknownFields.equals(other.unknownFields); return result; }
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; }
/** * @param pbBytes A pb serialized {@link TimestampsFilter} instance * * @return An instance of {@link TimestampsFilter} made from <code>bytes</code> * @see #toByteArray */ public static TimestampsFilter parseFrom(final byte[] pbBytes) throws DeserializationException { FilterProtos.TimestampsFilter proto; try { proto = FilterProtos.TimestampsFilter.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new TimestampsFilter(proto.getTimestampsList(), proto.hasCanHint() && proto.getCanHint()); }
/** * @param pbBytes A pb serialized {@link TimestampsFilter} instance * * @return An instance of {@link TimestampsFilter} made from <code>bytes</code> * @see #toByteArray */ public static TimestampsFilter parseFrom(final byte[] pbBytes) throws DeserializationException { FilterProtos.TimestampsFilter proto; try { proto = FilterProtos.TimestampsFilter.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new TimestampsFilter(proto.getTimestampsList(), proto.hasCanHint() && proto.getCanHint()); }
/** * @param pbBytes A pb serialized {@link TimestampsFilter} instance * * @return An instance of {@link TimestampsFilter} made from <code>bytes</code> * @see #toByteArray */ public static TimestampsFilter parseFrom(final byte[] pbBytes) throws DeserializationException { FilterProtos.TimestampsFilter proto; try { proto = FilterProtos.TimestampsFilter.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new TimestampsFilter(proto.getTimestampsList(), proto.hasCanHint() && proto.getCanHint()); }