@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSubstr()) { hash = (37 * hash) + SUBSTR_FIELD_NUMBER; hash = (53 * hash) + getSubstr().hashCode(); } hash = (29 * hash) + getUnknownFields().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.protobuf.generated.ComparatorProtos.SubstringComparator)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator other = (org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator) obj; boolean result = true; result = result && (hasSubstr() == other.hasSubstr()); if (hasSubstr()) { result = result && getSubstr() .equals(other.getSubstr()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSubstr()) { hash = (37 * hash) + SUBSTR_FIELD_NUMBER; hash = (53 * hash) + getSubstr().hashCode(); } hash = (29 * hash) + getUnknownFields().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.protobuf.generated.ComparatorProtos.SubstringComparator)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator other = (org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator) obj; boolean result = true; result = result && (hasSubstr() == other.hasSubstr()); if (hasSubstr()) { result = result && getSubstr() .equals(other.getSubstr()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator other = (org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator) obj; boolean result = true; result = result && (hasSubstr() == other.hasSubstr()); if (hasSubstr()) { result = result && getSubstr() .equals(other.getSubstr()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator other = (org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparator) obj; boolean result = true; result = result && (hasSubstr() == other.hasSubstr()); if (hasSubstr()) { result = result && getSubstr() .equals(other.getSubstr()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
/** * @param pbBytes A pb serialized {@link SubstringComparator} instance * @return An instance of {@link SubstringComparator} made from <code>bytes</code> * @throws DeserializationException * @see #toByteArray */ public static SubstringComparator parseFrom(final byte [] pbBytes) throws DeserializationException { ComparatorProtos.SubstringComparator proto; try { proto = ComparatorProtos.SubstringComparator.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new SubstringComparator(proto.getSubstr()); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSubstr()) { hash = (37 * hash) + SUBSTR_FIELD_NUMBER; hash = (53 * hash) + getSubstr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSubstr()) { hash = (37 * hash) + SUBSTR_FIELD_NUMBER; hash = (53 * hash) + getSubstr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
/** * <code>required string substr = 1;</code> */ public Builder clearSubstr() { bitField0_ = (bitField0_ & ~0x00000001); substr_ = getDefaultInstance().getSubstr(); onChanged(); return this; } /**
/** * <code>required string substr = 1;</code> */ public Builder clearSubstr() { bitField0_ = (bitField0_ & ~0x00000001); substr_ = getDefaultInstance().getSubstr(); onChanged(); return this; } /**
/** * <code>required string substr = 1;</code> */ public Builder clearSubstr() { bitField0_ = (bitField0_ & ~0x00000001); substr_ = getDefaultInstance().getSubstr(); onChanged(); return this; } /**
/** * <code>required string substr = 1;</code> */ public Builder clearSubstr() { bitField0_ = (bitField0_ & ~0x00000001); substr_ = getDefaultInstance().getSubstr(); onChanged(); return this; } /**