public com.google.protobuf.ByteString
          getIdBytes() {
        Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
<code>string id = 2;</code>
@return The bytes for id.
core/src/test/java/com/alibaba/fastjson2/dubbo/GoogleProtobufBasic.java