Lines Matching defs:oneofSubField
2226 type oneofSubField struct { struct
2227 fieldCommon
2228 … // Proto type name, empty if primitive, e.g. ".google.protobuf.Duration"
2229 …ldDescriptorProto_Type // Actual type enum value, e.g. descriptor.FieldDescriptorProto_TYPE_FIXED64
2230 …ng // Type name of the enclosing struct, e.g. "MessageName_FieldName"
2231 …dNumber int // Actual field number, as defined in proto, e.g. 12
2232 … // Default for getters, e.g. "nil", `""` or "Default_MessageType_FieldName"
2233 …ing // Default value as defined in the proto file, e.g "yoshi" or "5"
2234 deprecated string // Deprecation comment, if any.
2235 …ing // gogo. We can set this on creation, instead of using a function
2239 func (f *oneofSubField) wireTypeName() string {
2245 func (f *oneofSubField) typedNil(g *Generator) {
2250 func (f *oneofSubField) marshalCase(g *Generator, mc *msgCtx) {
2366 …f *oneofSubField) unmarshalCase(g *Generator, origOneofName string, oneofName string, mc *msgCtx) {
2524 func (f *oneofSubField) sizerCase(g *Generator) {
2621 func (f *oneofSubField) getProtoDef() string {
2626 func (f *oneofSubField) getProtoTypeName() string {
2631 func (f *oneofSubField) getProtoType() descriptor.FieldDescriptorProto_Type {
2635 func (f *oneofSubField) getProto() *descriptor.FieldDescriptorProto {