public Builder setButton(
     com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton value) {
   if (value == null) {
     throw new NullPointerException();
   }
   result.hasButton = true;
   result.button_ = value;
   return this;
 }
 public Builder clearButton() {
   result.hasButton = false;
   result.button_ =
       com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton.LEFT;
   return this;
 }
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDescriptor();
 }
 public com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton
     getButton() {
   return result.getButton();
 }
 // required uint32 modifier = 5;
 public boolean hasModifier() {
   return result.hasModifier();
 }
 public Builder setModifier(int value) {
   result.hasModifier = true;
   result.modifier_ = value;
   return this;
 }
 // required uint32 y = 2;
 public boolean hasY() {
   return result.hasY();
 }
 public Builder setNumClicks(int value) {
   result.hasNumClicks = true;
   result.numClicks_ = value;
   return this;
 }
 public Builder setX(int value) {
   result.hasX = true;
   result.x_ = value;
   return this;
 }
 public Builder clearX() {
   result.hasX = false;
   result.x_ = 0;
   return this;
 }
 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 boolean isInitialized() {
   return result.isInitialized();
 }
 public com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo
     getDefaultInstanceForType() {
   return com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDefaultInstance();
 }
 // required uint32 numClicks = 4;
 public boolean hasNumClicks() {
   return result.hasNumClicks();
 }
 public int getY() {
   return result.getY();
 }
 public int getNumClicks() {
   return result.getNumClicks();
 }
 public Builder setY(int value) {
   result.hasY = true;
   result.y_ = value;
   return this;
 }
 public Builder clearNumClicks() {
   result.hasNumClicks = false;
   result.numClicks_ = 0;
   return this;
 }
 public Builder clearY() {
   result.hasY = false;
   result.y_ = 0;
   return this;
 }
 public int getModifier() {
   return result.getModifier();
 }
 // required .scope.MouseInfo.MouseButton button = 3;
 public boolean hasButton() {
   return result.hasButton();
 }
 public Builder clearModifier() {
   result.hasModifier = false;
   result.modifier_ = 0;
   return this;
 }
 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
   return com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDescriptor()
       .getEnumTypes()
       .get(0);
 }