@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.v2.TimestampRange)) { return super.equals(obj); } com.google.bigtable.v2.TimestampRange other = (com.google.bigtable.v2.TimestampRange) obj; boolean result = true; result = result && (getStartTimestampMicros() == other.getStartTimestampMicros()); result = result && (getEndTimestampMicros() == other.getEndTimestampMicros()); 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(); hash = (37 * hash) + START_TIMESTAMP_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTimestampMicros()); hash = (37 * hash) + END_TIMESTAMP_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTimestampMicros()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.bigtable.v2.TimestampRange other) { if (other == com.google.bigtable.v2.TimestampRange.getDefaultInstance()) return this; if (other.getStartTimestampMicros() != 0L) { setStartTimestampMicros(other.getStartTimestampMicros()); } if (other.getEndTimestampMicros() != 0L) { setEndTimestampMicros(other.getEndTimestampMicros()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.v2.TimestampRange)) { return super.equals(obj); } com.google.bigtable.v2.TimestampRange other = (com.google.bigtable.v2.TimestampRange) obj; boolean result = true; result = result && (getStartTimestampMicros() == other.getStartTimestampMicros()); result = result && (getEndTimestampMicros() == other.getEndTimestampMicros()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.v2.TimestampRange)) { return super.equals(obj); } com.google.bigtable.v2.TimestampRange other = (com.google.bigtable.v2.TimestampRange) obj; boolean result = true; result = result && (getStartTimestampMicros() == other.getStartTimestampMicros()); result = result && (getEndTimestampMicros() == other.getEndTimestampMicros()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_TIMESTAMP_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTimestampMicros()); hash = (37 * hash) + END_TIMESTAMP_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTimestampMicros()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_TIMESTAMP_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTimestampMicros()); hash = (37 * hash) + END_TIMESTAMP_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTimestampMicros()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.bigtable.v2.TimestampRange other) { if (other == com.google.bigtable.v2.TimestampRange.getDefaultInstance()) return this; if (other.getStartTimestampMicros() != 0L) { setStartTimestampMicros(other.getStartTimestampMicros()); } if (other.getEndTimestampMicros() != 0L) { setEndTimestampMicros(other.getEndTimestampMicros()); } onChanged(); return this; }
public Builder mergeFrom(com.google.bigtable.v2.TimestampRange other) { if (other == com.google.bigtable.v2.TimestampRange.getDefaultInstance()) return this; if (other.getStartTimestampMicros() != 0L) { setStartTimestampMicros(other.getStartTimestampMicros()); } if (other.getEndTimestampMicros() != 0L) { setEndTimestampMicros(other.getEndTimestampMicros()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
long timestamp; com.google.bigtable.v2.TimestampRange timeRange = deleteFromColumn.getTimeRange(); if (timeRange.getStartTimestampMicros() == 0) { timestamp = BigtableConstants.HBASE_TIMEUNIT.convert(timeRange.getEndTimestampMicros(), BigtableConstants.BIGTABLE_TIMEUNIT) - 1; getBytes(deleteFromColumn.getColumnQualifier()), timestamp); } else { timestamp = BigtableConstants.HBASE_TIMEUNIT.convert(timeRange.getStartTimestampMicros(), BigtableConstants.BIGTABLE_TIMEUNIT); delete.addColumn(getBytes(deleteFromColumn.getFamilyNameBytes()),
long timestamp; com.google.bigtable.v2.TimestampRange timeRange = deleteFromColumn.getTimeRange(); if (timeRange.getStartTimestampMicros() == 0) { timestamp = BigtableConstants.HBASE_TIMEUNIT.convert(timeRange.getEndTimestampMicros(), BigtableConstants.BIGTABLE_TIMEUNIT) - 1; getBytes(deleteFromColumn.getColumnQualifier()), timestamp); } else { timestamp = BigtableConstants.HBASE_TIMEUNIT.convert(timeRange.getStartTimestampMicros(), BigtableConstants.BIGTABLE_TIMEUNIT); delete.addColumn(getBytes(deleteFromColumn.getFamilyNameBytes()),