private void ensureFlagsIsMutable() {
        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
          flags_ = new java.util.ArrayList<org.bwapi.proxy.messages.Messages.Flag>(flags_);
          bitField0_ |= 0x00000010;
        }
      }