java.lang.Object
com.amazonaws.services.schemaregistry.deserializers.protobuf.ProtobufSchemaParser

public class ProtobufSchemaParser extends Object
Utility class to parse the Protobuf schemas using square and apicurio library.
  • Constructor Details

    • ProtobufSchemaParser

      public ProtobufSchemaParser()
  • Method Details

    • parse

      public static com.google.protobuf.Descriptors.FileDescriptor parse(String schemaDefinition, String protoFileName) throws com.google.protobuf.Descriptors.DescriptorValidationException
      Throws:
      com.google.protobuf.Descriptors.DescriptorValidationException