Lines Matching defs:oneofSubField
1864 type oneofSubField struct { struct
1865 fieldCommon
1866 … // Proto type name, empty if primitive, e.g. ".google.protobuf.Duration"
1867 …ldDescriptorProto_Type // Actual type enum value, e.g. descriptor.FieldDescriptorProto_TYPE_FIXED64
1868 …ng // Type name of the enclosing struct, e.g. "MessageName_FieldName"
1869 …dNumber int // Actual field number, as defined in proto, e.g. 12
1870 … // Default for getters, e.g. "nil", `""` or "Default_MessageType_FieldName"
1871 …ing // Default value as defined in the proto file, e.g "yoshi" or "5"
1872 deprecated string // Deprecation comment, if any.
1877 func (f *oneofSubField) typedNil(g *Generator) {
1882 func (f *oneofSubField) getProtoDef() string {
1887 func (f *oneofSubField) getProtoTypeName() string {
1892 func (f *oneofSubField) getProtoType() descriptor.FieldDescriptorProto_Type {