解决 Protobuf 生成代码中 MissingOverride 错误
Yes, the error message is suggesting that you add the ' @Override' annotation to the 'getUserNameBytes' method in the 'SysFlightTicketOrBuilder' interface. The correct code should be:
@Override
public com.google.protobuf.ByteString getUserNameBytes();
Adding the ' @Override' annotation indicates that the method is intended to override a method from a superclass or interface.
原文地址: https://www.cveoy.top/t/topic/qDzV 著作权归作者所有。请勿转载和采集!