Home
last modified time | relevance | path

Searched defs:simpleField (Results 1 – 1 of 1) sorted by relevance

/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go1795 type simpleField struct { struct
1796 fieldCommon
1797 … // Proto type name, empty if primitive, e.g. ".google.protobuf.Duration"
1798 …ldDescriptorProto_Type // Actual type enum value, e.g. descriptor.FieldDescriptorProto_TYPE_FIXED64
1799 …ing // Deprecation comment, if any, e.g. "// Deprecated: Do not use."
1800 … // Default for getters, e.g. "nil", `""` or "Default_MessageType_FieldName"
1801 …ing // Default value as defined in the proto file, e.g "yoshi" or "5"
1802 …tring // The full comment for the field, e.g. "// Useful information"
1806 func (f *simpleField) decl(g *Generator, mc *msgCtx) {
1811 func (f *simpleField) getter(g *Generator, mc *msgCtx) {
[all …]