Home
last modified time | relevance | path

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

/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go1864 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) {
[all …]