@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegionA()) { hash = (37 * hash) + REGION_A_FIELD_NUMBER; hash = (53 * hash) + getRegionA().hashCode(); } if (hasRegionB()) { hash = (37 * hash) + REGION_B_FIELD_NUMBER; hash = (53 * hash) + getRegionB().hashCode(); } if (hasForcible()) { hash = (37 * hash) + FORCIBLE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getForcible()); } if (hasMasterSystemTime()) { hash = (37 * hash) + MASTER_SYSTEM_TIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMasterSystemTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
result = result && (getForcible() == other.getForcible());
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegionA()) { hash = (37 * hash) + REGION_A_FIELD_NUMBER; hash = (53 * hash) + getRegionA().hashCode(); } if (hasRegionB()) { hash = (37 * hash) + REGION_B_FIELD_NUMBER; hash = (53 * hash) + getRegionB().hashCode(); } if (hasForcible()) { hash = (37 * hash) + FORCIBLE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getForcible()); } if (hasMasterSystemTime()) { hash = (37 * hash) + MASTER_SYSTEM_TIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMasterSystemTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
Region regionA = getRegion(request.getRegionA()); Region regionB = getRegion(request.getRegionB()); boolean forcible = request.getForcible(); long masterSystemTime = request.hasMasterSystemTime() ? request.getMasterSystemTime() : -1; regionA.startRegionOperation(Operation.MERGE_REGION);
result = result && (getForcible() == other.getForcible());
result = result && (getForcible() == other.getForcible());
result = result && (getForcible() == other.getForcible());
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegionA()) { hash = (37 * hash) + REGION_A_FIELD_NUMBER; hash = (53 * hash) + getRegionA().hashCode(); } if (hasRegionB()) { hash = (37 * hash) + REGION_B_FIELD_NUMBER; hash = (53 * hash) + getRegionB().hashCode(); } if (hasForcible()) { hash = (37 * hash) + FORCIBLE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getForcible()); } if (hasMasterSystemTime()) { hash = (37 * hash) + MASTER_SYSTEM_TIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMasterSystemTime()); } 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 (hasRegionA()) { hash = (37 * hash) + REGION_A_FIELD_NUMBER; hash = (53 * hash) + getRegionA().hashCode(); } if (hasRegionB()) { hash = (37 * hash) + REGION_B_FIELD_NUMBER; hash = (53 * hash) + getRegionB().hashCode(); } if (hasForcible()) { hash = (37 * hash) + FORCIBLE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getForcible()); } if (hasMasterSystemTime()) { hash = (37 * hash) + MASTER_SYSTEM_TIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMasterSystemTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest.getDefaultInstance()) return this; if (other.hasRegionA()) { mergeRegionA(other.getRegionA()); } if (other.hasRegionB()) { mergeRegionB(other.getRegionB()); } if (other.hasForcible()) { setForcible(other.getForcible()); } if (other.hasMasterSystemTime()) { setMasterSystemTime(other.getMasterSystemTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest.getDefaultInstance()) return this; if (other.hasRegionA()) { mergeRegionA(other.getRegionA()); } if (other.hasRegionB()) { mergeRegionB(other.getRegionB()); } if (other.hasForcible()) { setForcible(other.getForcible()); } if (other.hasMasterSystemTime()) { setMasterSystemTime(other.getMasterSystemTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest.getDefaultInstance()) return this; if (other.hasRegionA()) { mergeRegionA(other.getRegionA()); } if (other.hasRegionB()) { mergeRegionB(other.getRegionB()); } if (other.hasForcible()) { setForcible(other.getForcible()); } if (other.hasMasterSystemTime()) { setMasterSystemTime(other.getMasterSystemTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequest.getDefaultInstance()) return this; if (other.hasRegionA()) { mergeRegionA(other.getRegionA()); } if (other.hasRegionB()) { mergeRegionB(other.getRegionB()); } if (other.hasForcible()) { setForcible(other.getForcible()); } if (other.hasMasterSystemTime()) { setMasterSystemTime(other.getMasterSystemTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }