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 clearModifier() { result.hasModifier = false; result.modifier_ = 0; return this; }
public Builder setModifier(int value) { result.hasModifier = true; result.modifier_ = value; return this; }
// required uint32 modifier = 5; public boolean hasModifier() { return result.hasModifier(); }