foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/serializer/repeated/impl/enums/EnumPackedWriteSchemas.java [84:99]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          if (element == null) {
            ProtoUtils.throwNotSupportNullElement(protoField);
            return;
          }

          Integer enumValue = enumMeta.getValueByName(element);
          if (enumValue == null) {
            throw new IllegalStateException(
                String.format("invalid enum name %s for proto %s, field=%s:%s",
                    element,
                    protoField.getTypeName(),
                    ((Type) protoField.getParent()).getCanonicalName(),
                    protoField.getName()));
          }

          output.writePackedEnum(enumValue);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/serializer/repeated/impl/enums/EnumPackedWriteSchemas.java [106:121]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (element == null) {
          ProtoUtils.throwNotSupportNullElement(protoField);
          return;
        }

        Integer enumValue = enumMeta.getValueByName(element);
        if (enumValue == null) {
          throw new IllegalStateException(
              String.format("invalid enum name %s for proto %s, field=%s:%s",
                  element,
                  protoField.getTypeName(),
                  ((Type) protoField.getParent()).getCanonicalName(),
                  protoField.getName()));
        }

        output.writePackedEnum(enumValue);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



