public Builder mergeFrom( com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo other) { if (other == com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDefaultInstance()) return this; if (other.hasX()) { setX(other.getX()); } if (other.hasY()) { setY(other.getY()); } if (other.hasButton()) { setButton(other.getButton()); } if (other.hasNumClicks()) { setNumClicks(other.getNumClicks()); } if (other.hasModifier()) { setModifier(other.getModifier()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder clearX() { result.hasX = false; result.x_ = 0; return this; }
public Builder setX(int value) { result.hasX = true; result.x_ = value; return this; }
// required uint32 x = 1; public boolean hasX() { return result.hasX(); }