@Override
        public boolean equals(final Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof SubMessage2)) {
                return super.equals(obj);
            }
            SubMessage2 other = (SubMessage2) obj;

            if (getField1()
                    != other.getField1()) return false;
            if (!getField2()
                    .equals(other.getField2())) return false;
            if (!getUnknownFields().equals(other.getUnknownFields())) return false;
            return true;
        }
<code>string field2 = 2;</code>

@return The bytes for field2.
wx-dump-admin/src/main/java/com/xcs/wx/protobuf/MsgProto.java