Class ProtobufMessage
- java.lang.Object
-
- io.apicurio.registry.utils.protobuf.schema.ProtobufMessage
-
public class ProtobufMessage extends Object
- Author:
- Fabian Martinez
-
-
Constructor Summary
Constructors Constructor Description ProtobufMessage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(String label, String type, String typeName, String name, int num, String defaultVal, String jsonName, Boolean isDeprecated, Boolean isPacked, com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype, com.google.protobuf.DescriptorProtos.FieldOptions.JSType jsType, Integer oneOfIndex, Boolean isProto3Optional)
com.google.protobuf.DescriptorProtos.DescriptorProto
build()
static com.google.protobuf.DescriptorProtos.FieldDescriptorProto
buildFieldDescriptorProto(String label, String type, String typeName, String name, int num, String defaultVal, String jsonName, Boolean isDeprecated, Boolean isPacked, com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype, com.google.protobuf.DescriptorProtos.FieldOptions.JSType jsType, Integer oneOfIndex, Boolean isProto3Optional)
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder
protoBuilder()
-
-
-
Method Detail
-
protoBuilder
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder protoBuilder()
-
build
public com.google.protobuf.DescriptorProtos.DescriptorProto build()
-
addField
public void addField(String label, String type, String typeName, String name, int num, String defaultVal, String jsonName, Boolean isDeprecated, Boolean isPacked, com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype, com.google.protobuf.DescriptorProtos.FieldOptions.JSType jsType, Integer oneOfIndex, Boolean isProto3Optional)
-
buildFieldDescriptorProto
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto buildFieldDescriptorProto(String label, String type, String typeName, String name, int num, String defaultVal, String jsonName, Boolean isDeprecated, Boolean isPacked, com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype, com.google.protobuf.DescriptorProtos.FieldOptions.JSType jsType, Integer oneOfIndex, Boolean isProto3Optional)
-
-