public Builder mergeFrom( org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId .getDefaultInstance()) return this; if (other.hasClusterId()) { bitField0_ |= 0x00000001; clusterId_ = other.clusterId_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
@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.ClusterIdProtos.ClusterId)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId other = (org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId) obj; boolean result = true; result = result && (hasClusterId() == other.hasClusterId()); if (hasClusterId()) { result = result && getClusterId().equals(other.getClusterId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }