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 Summary
Constructors
-
Method Summary
static com.google.protobuf.Descriptors.FileDescriptor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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