Class ProtobufFile
java.lang.Object
io.apicurio.registry.utils.protobuf.schema.ProtobufFile
Indexed representation of the data resulting from parsing a single .proto protobuf schema file,
used mainly for schema validation.
- Author:
- Jonathan Halliday, Ales Justin
- See Also:
-
- Protolock
ProtobufCompatibilityChecker
-
Constructor Summary
ConstructorsConstructorDescriptionProtobufFile(com.squareup.wire.schema.internal.parser.ProtoFileElement element) ProtobufFile(File file) ProtobufFile(String data) -
Method Summary
Modifier and TypeMethodDescriptioncom.squareup.wire.Syntaxstatic com.squareup.wire.schema.internal.parser.ProtoFileElementtoProtoFileElement(String data)
-
Constructor Details
-
ProtobufFile
-
ProtobufFile
- Throws:
IOException
-
ProtobufFile
public ProtobufFile(com.squareup.wire.schema.internal.parser.ProtoFileElement element)
-
-
Method Details
-
toProtoFileElement
public static com.squareup.wire.schema.internal.parser.ProtoFileElement toProtoFileElement(String data) -
getPackageName
-
getReservedFields
-
getFieldMap
-
getEnumFieldMap
-
getMapMap
-
getNonReservedFields
-
getNonReservedEnumFields
-
getFieldsById
-
getEnumFieldsById
-
getServiceRPCnames
-
getServiceRPCSignatures
-
getSyntax
public com.squareup.wire.Syntax getSyntax()
-