Lines Matching defs:proto
40 /// Descriptor for a field or extension within a message in a .proto file.
69 /// but can be overridden using the <c>json_name</c> option in the .proto file.
95 internal FieldDescriptor(FieldDescriptorProto proto, FileDescriptor file,
97 : base(file, file.ComputeFullName(parent, proto.Name), index)
99 Proto = proto;
100 if (proto.Type != 0)
102 fieldType = GetFieldTypeFromProtoType(proto.Type);
110 if (proto.HasOneofIndex)
112 if (proto.OneofIndex < 0 || proto.OneofIndex >= parent.Proto.OneofDecl.Count)
117 ContainingOneof = parent.Oneofs[proto.OneofIndex];
163 /// Maps a field type as included in the .proto file to a FieldType.
254 /// Returns the field number declared in the proto file.
326 /// The <c>FieldOptions</c>, defined in <c>descriptor.proto</c>.