Lines Matching defs:simpleField
1795 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) {
1844 func (f *simpleField) setter(g *Generator, mc *msgCtx) {
1849 func (f *simpleField) getProtoDef() string {
1854 func (f *simpleField) getProtoTypeName() string {
1859 func (f *simpleField) getProtoType() descriptor.FieldDescriptorProto_Type {