Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert(req *plugin.CodeGeneratorRequest) (*plugin.CodeGeneratorResponse, error)
Types ¶
type Comments ¶ added in v1.1.0
Comments is a map between path in FileDescriptorProto and leading/trailing comments for each field.
func ParseComments ¶ added in v1.1.0
func ParseComments(fd *descriptor.FileDescriptorProto) Comments
ParseComments reads FileDescriptorProto and parses comments into a map.
type Field ¶
type Field struct { Name string `json:"name"` Type string `json:"type"` Mode string `json:"mode"` Description string `json:"description,omitempty"` Fields []*Field `json:"fields,omitempty"` }
Field describes the schema of a field in BigQuery.
type ProtoPackage ¶
type ProtoPackage struct {
// contains filtered or unexported fields
}
ProtoPackage describes a package of Protobuf, which is an container of message types.
Click to show internal directories.
Click to hide internal directories.